POST delivery/create

Request Information

URI Parameters

None.

Body Parameters

DeliveryViewModel
NameDescriptionTypeAdditional information
SaveToPermanentAddressFrom

boolean

None.

SaveToPermanentAddressTo

boolean

None.

NamePermanentAddress

string

None.

PizzeriaId

integer

None.

PermanentAddressFrom

PermanentAddressViewModel

None.

PermanentAddressTo

PermanentAddressViewModel

None.

LastImage

DeliveryHistoryViewModel

None.

WorkingTimeWeb

HoursMinutes

None.

WaitingTimeWeb

HoursMinutes

None.

Id

integer

None.

UserClientId

integer

None.

PermanentAddressId

integer

None.

AddressFrom

string

None.

AddressTo

string

None.

AdditionalInformation

string

None.

Status

integer

None.

DateDelivery

date

None.

DateCreated

date

None.

CourierInformation

string

None.

Amount

integer

None.

Weidth

decimal number

None.

IsReturnNotification

boolean

None.

IsDeleted

boolean

None.

Cost

decimal number

None.

WhoReceive

string

None.

WhenTaken

date

None.

WhoReturned

string

None.

WhenArrive

date

None.

WhenFinished

date

None.

DeliveryNumber

string

None.

SenderName

string

None.

SenderPhone

string

None.

RecipientName

string

None.

RecipientPhone

string

None.

CauseFailed

string

None.

UserCourierId

integer

None.

CreatedBy

integer

None.

DateModified

date

None.

EditedBy

integer

None.

CostWithTaxes

decimal number

None.

dlvSequenceNumber

integer

None.

SendToHeadCourier

boolean

None.

DontSendToCourier

boolean

None.

VATpercent

decimal number

None.

Urgency

byte

None.

Envelope

byte

None.

Distance

decimal number

None.

WorkingTime

integer

None.

WaitingTime

integer

None.

pkgNumber

integer

None.

collectPayment

boolean

None.

ManagerComment

string

None.

BarCode

string

None.

Payments

Collection of DeliveryPaymentModel

None.

Request Formats

application/json, text/json

Sample:
{
  "saveToPermanentAddressFrom": true,
  "saveToPermanentAddressTo": true,
  "namePermanentAddress": "sample string 1",
  "pizzeriaId": 1,
  "permanentAddressFrom": {
    "id": 1,
    "name": "sample string 1",
    "fullAddress": "sample string 2",
    "dateCreated": "2025-12-06T03:34:33.3179197+00:00",
    "phoneNumber": "sample string 3",
    "price": 1.0
  },
  "permanentAddressTo": {
    "id": 1,
    "name": "sample string 1",
    "fullAddress": "sample string 2",
    "dateCreated": "2025-12-06T03:34:33.3179197+00:00",
    "phoneNumber": "sample string 3",
    "price": 1.0
  },
  "lastImage": {
    "id": 1,
    "dateCreated": "2025-12-06T03:34:33.3179197+00:00",
    "sDateCreated": "sample string 3",
    "courierName": "sample string 4",
    "courierEmail": "sample string 5",
    "status": 6,
    "image": "sample string 7",
    "signatureImage": "sample string 8",
    "notes": "sample string 9",
    "courierPhoto": "sample string 10"
  },
  "workingTimeWeb": {
    "hours": 1,
    "minutes": 2,
    "timespan": "01:02:00"
  },
  "waitingTimeWeb": {
    "hours": 1,
    "minutes": 2,
    "timespan": "01:02:00"
  },
  "id": 1,
  "userClientId": 2,
  "permanentAddressId": 1,
  "addressFrom": "sample string 3",
  "addressTo": "sample string 4",
  "additionalInformation": "sample string 5",
  "status": 6,
  "dateDelivery": "2025-12-06T03:34:33.3179197+00:00",
  "dateCreated": "2025-12-06T03:34:33.3179197+00:00",
  "courierInformation": "sample string 7",
  "amount": 1,
  "weidth": 1.0,
  "isReturnNotification": true,
  "isDeleted": true,
  "cost": 1.0,
  "whoReceive": "sample string 9",
  "whenTaken": "2025-12-06T03:34:33.3179197+00:00",
  "whoReturned": "sample string 10",
  "whenArrive": "2025-12-06T03:34:33.3179197+00:00",
  "whenFinished": "2025-12-06T03:34:33.3179197+00:00",
  "deliveryNumber": "sample string 11",
  "senderName": "sample string 12",
  "senderPhone": "sample string 13",
  "recipientName": "sample string 14",
  "recipientPhone": "sample string 15",
  "causeFailed": "sample string 16",
  "userCourierId": 1,
  "createdBy": 1,
  "dateModified": "2025-12-06T03:34:33.3179197+00:00",
  "editedBy": 1,
  "costWithTaxes": 1.0,
  "dlvSequenceNumber": 17,
  "sendToHeadCourier": true,
  "dontSendToCourier": true,
  "vaTpercent": 1.0,
  "urgency": 64,
  "envelope": 64,
  "distance": 20.0,
  "workingTime": 21,
  "waitingTime": 22,
  "pkgNumber": 1,
  "collectPayment": true,
  "managerComment": "sample string 23",
  "barCode": "sample string 24",
  "payments": [
    {
      "deliveryId": 1,
      "id": 1,
      "summ": 1.0,
      "dateCreated": "sample string 2",
      "createdBy": 3,
      "comment": "sample string 4",
      "fullName": "sample string 5",
      "isNewRecord": true
    },
    {
      "deliveryId": 1,
      "id": 1,
      "summ": 1.0,
      "dateCreated": "sample string 2",
      "createdBy": 3,
      "comment": "sample string 4",
      "fullName": "sample string 5",
      "isNewRecord": true
    }
  ]
}

application/xml, text/xml

Sample:
<DeliveryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Clickoapp2.Shared.ViewModels">
  <AdditionalInformation>sample string 5</AdditionalInformation>
  <AddressFrom>sample string 3</AddressFrom>
  <AddressTo>sample string 4</AddressTo>
  <Amount>1</Amount>
  <BarCode>sample string 24</BarCode>
  <CauseFailed>sample string 16</CauseFailed>
  <Cost>1</Cost>
  <CostWithTaxes>1</CostWithTaxes>
  <CourierInformation>sample string 7</CourierInformation>
  <CreatedBy>1</CreatedBy>
  <DateCreated>2025-12-06T03:34:33.3179197+00:00</DateCreated>
  <DateDelivery>2025-12-06T03:34:33.3179197+00:00</DateDelivery>
  <DateModified>2025-12-06T03:34:33.3179197+00:00</DateModified>
  <DeliveryNumber>sample string 11</DeliveryNumber>
  <Distance>20</Distance>
  <DontSendToCourier>true</DontSendToCourier>
  <EditedBy>1</EditedBy>
  <Envelope>64</Envelope>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <IsReturnNotification>true</IsReturnNotification>
  <ManagerComment>sample string 23</ManagerComment>
  <Payments>
    <DeliveryPaymentModel>
      <Comment>sample string 4</Comment>
      <CreatedBy>3</CreatedBy>
      <DateCreated>sample string 2</DateCreated>
      <DeliveryId>1</DeliveryId>
      <FullName>sample string 5</FullName>
      <Id>1</Id>
      <IsNewRecord>true</IsNewRecord>
      <Summ>1</Summ>
    </DeliveryPaymentModel>
    <DeliveryPaymentModel>
      <Comment>sample string 4</Comment>
      <CreatedBy>3</CreatedBy>
      <DateCreated>sample string 2</DateCreated>
      <DeliveryId>1</DeliveryId>
      <FullName>sample string 5</FullName>
      <Id>1</Id>
      <IsNewRecord>true</IsNewRecord>
      <Summ>1</Summ>
    </DeliveryPaymentModel>
  </Payments>
  <PermanentAddressId>1</PermanentAddressId>
  <RecipientName>sample string 14</RecipientName>
  <RecipientPhone>sample string 15</RecipientPhone>
  <SendToHeadCourier>true</SendToHeadCourier>
  <SenderName>sample string 12</SenderName>
  <SenderPhone>sample string 13</SenderPhone>
  <Status>6</Status>
  <Urgency>64</Urgency>
  <UserClientId>2</UserClientId>
  <UserCourierId>1</UserCourierId>
  <VATpercent>1</VATpercent>
  <WaitingTime>22</WaitingTime>
  <Weidth>1</Weidth>
  <WhenArrive>2025-12-06T03:34:33.3179197+00:00</WhenArrive>
  <WhenFinished>2025-12-06T03:34:33.3179197+00:00</WhenFinished>
  <WhenTaken>2025-12-06T03:34:33.3179197+00:00</WhenTaken>
  <WhoReceive>sample string 9</WhoReceive>
  <WhoReturned>sample string 10</WhoReturned>
  <WorkingTime>21</WorkingTime>
  <collectPayment>true</collectPayment>
  <dlvSequenceNumber>17</dlvSequenceNumber>
  <pkgNumber>1</pkgNumber>
  <LastImage>
    <CourierEmail>sample string 5</CourierEmail>
    <CourierName>sample string 4</CourierName>
    <CourierPhoto>sample string 10</CourierPhoto>
    <DateCreated>2025-12-06T03:34:33.3179197+00:00</DateCreated>
    <Id>1</Id>
    <Image>sample string 7</Image>
    <Notes>sample string 9</Notes>
    <SignatureImage>sample string 8</SignatureImage>
    <Status>6</Status>
    <sDateCreated>sample string 3</sDateCreated>
  </LastImage>
  <NamePermanentAddress>sample string 1</NamePermanentAddress>
  <PermanentAddressFrom>
    <DateCreated>2025-12-06T03:34:33.3179197+00:00</DateCreated>
    <FullAddress>sample string 2</FullAddress>
    <Id>1</Id>
    <Name>sample string 1</Name>
    <PhoneNumber>sample string 3</PhoneNumber>
    <Price>1</Price>
  </PermanentAddressFrom>
  <PermanentAddressTo>
    <DateCreated>2025-12-06T03:34:33.3179197+00:00</DateCreated>
    <FullAddress>sample string 2</FullAddress>
    <Id>1</Id>
    <Name>sample string 1</Name>
    <PhoneNumber>sample string 3</PhoneNumber>
    <Price>1</Price>
  </PermanentAddressTo>
  <PizzeriaId>1</PizzeriaId>
  <SaveToPermanentAddressFrom>true</SaveToPermanentAddressFrom>
  <SaveToPermanentAddressTo>true</SaveToPermanentAddressTo>
  <WaitingTimeWeb>
    <Hours>1</Hours>
    <Minutes>2</Minutes>
  </WaitingTimeWeb>
  <WorkingTimeWeb>
    <Hours>1</Hours>
    <Minutes>2</Minutes>
  </WorkingTimeWeb>
</DeliveryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.