POST outsidepool/status/update

Request Information

URI Parameters

None.

Body Parameters

PackageWebhook
NameDescriptionTypeAdditional information
event

string

None.

timestamp

date

None.

data

PackageData

None.

Request Formats

application/json, text/json

Sample:
{
  "event": "sample string 1",
  "timestamp": "2026-02-16T11:14:37.4410568+03:00",
  "data": {
    "package_id": 1,
    "external_id": "sample string 2",
    "status": "sample string 3",
    "courier_id": "sample string 4",
    "courier_name": "sample string 5",
    "courier_phone": "sample string 6",
    "timestamp": "2026-02-16T11:14:37.4410568+03:00",
    "estimated_delivery_time": "2026-02-16T11:14:37.4410568+03:00",
    "delivery_note": "sample string 9",
    "reason": "sample string 10",
    "cancelled_by": "sample string 11",
    "cancelled_at": "2026-02-16T11:14:37.4410568+03:00"
  }
}

application/xml, text/xml

Sample:
<OutsidePool.PackageWebhook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobilAPI.Models">
  <Data>
    <CancelledAt xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2026-02-16T08:14:37.4410568Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>180</d3p1:OffsetMinutes>
    </CancelledAt>
    <CancelledBy>sample string 11</CancelledBy>
    <CourierId>sample string 4</CourierId>
    <CourierName>sample string 5</CourierName>
    <CourierPhone>sample string 6</CourierPhone>
    <DeliveryNote>sample string 9</DeliveryNote>
    <EstimatedDeliveryTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2026-02-16T08:14:37.4410568Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>180</d3p1:OffsetMinutes>
    </EstimatedDeliveryTime>
    <ExternalId>sample string 2</ExternalId>
    <PackageId>1</PackageId>
    <Reason>sample string 10</Reason>
    <Status>sample string 3</Status>
    <Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2026-02-16T08:14:37.4410568Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>180</d3p1:OffsetMinutes>
    </Timestamp>
  </Data>
  <Event>sample string 1</Event>
  <Timestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-02-16T08:14:37.4410568Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>180</d2p1:OffsetMinutes>
  </Timestamp>
</OutsidePool.PackageWebhook>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PackageWebhook'.

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobilAPI.ViewModels">
  <message>sample string 2</message>
  <success>true</success>
</GeneralResponse>