POST api/Waybill/AddPodMobile

Request Information

URI Parameters

None.

Body Parameters

AddPodWithDeliverMobileRequest
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

RoleId

string

None.

HubName

string

None.

ZoneHubId

integer

None.

Latitude

string

None.

Longitude

string

None.

IncomingStatusId

integer

None.

Comment

string

None.

LastRefusalReasonId

integer

None.

WaybillSerials

Collection of WaybillSerialss

None.

ReceiverSSN

string

None.

ReceiverName

string

None.

FileBase64

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "RoleId": "sample string 3",
  "HubName": "sample string 4",
  "ZoneHubId": 1,
  "Latitude": "sample string 5",
  "Longitude": "sample string 6",
  "IncomingStatusId": 7,
  "Comment": "sample string 8",
  "LastRefusalReasonId": 1,
  "WaybillSerials": [
    {
      "WaybillId": 1,
      "WaybillSerial": 1
    },
    {
      "WaybillId": 1,
      "WaybillSerial": 1
    }
  ],
  "ReceiverSSN": "sample string 9",
  "ReceiverName": "sample string 10",
  "FileBase64": "sample string 11"
}

application/xml, text/xml

Sample:
<AddPodWithDeliverMobileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpexCourierHub.Entities">
  <Comment>sample string 8</Comment>
  <FileBase64>sample string 11</FileBase64>
  <HubName>sample string 4</HubName>
  <IncomingStatusId>7</IncomingStatusId>
  <LastRefusalReasonId>1</LastRefusalReasonId>
  <Latitude>sample string 5</Latitude>
  <Longitude>sample string 6</Longitude>
  <ReceiverName>sample string 10</ReceiverName>
  <ReceiverSSN>sample string 9</ReceiverSSN>
  <RoleId>sample string 3</RoleId>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
  <WaybillSerials>
    <WaybillSerialss>
      <WaybillId>1</WaybillId>
      <WaybillSerial>1</WaybillSerial>
    </WaybillSerialss>
    <WaybillSerialss>
      <WaybillId>1</WaybillId>
      <WaybillSerial>1</WaybillSerial>
    </WaybillSerialss>
  </WaybillSerials>
  <ZoneHubId>1</ZoneHubId>
</AddPodWithDeliverMobileRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MobileReturnObject
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Obj

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Obj": {}
}

application/xml, text/xml

Sample:
<MobileReturnObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpexCourierHub.Entities">
  <Message>sample string 1</Message>
  <Obj />
  <Status>true</Status>
</MobileReturnObject>