POST api/InvoiceDashboardNew/InsertCourrier

Creates a new Courrier.

Request Information

URI Parameters

None.

Body Parameters

CourierModel
NameDescriptionTypeAdditional information
InvoiceBillingID

integer

None.

InvoiceID

integer

None.

BillingPhone

string

None.

BillingFax

string

None.

BillingAddress

string

None.

BillingStreet

string

None.

BillingPostalCode

string

None.

BillingStateID

integer

None.

BillingCountryID

integer

None.

DeliveryName

string

None.

DeliveryAddress

string

None.

DeliveryStreet

string

None.

DeliveryPostalCode

string

None.

DeliveryStateID

integer

None.

DeliveryCountryID

integer

None.

TrackingNumber

string

None.

IsCourierBooked

boolean

None.

PickupTime

date

None.

IsOrderRequirePicking

boolean

None.

PriorityID

integer

None.

PickingStatusID

integer

None.

CourrierID

integer

None.

CourrierName

string

None.

InvoiceNotesID

integer

None.

GeneralNotesInformation

string

None.

NotesToAppearOnInvoice

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceBillingID": 1,
  "InvoiceID": 2,
  "BillingPhone": "sample string 3",
  "BillingFax": "sample string 4",
  "BillingAddress": "sample string 5",
  "BillingStreet": "sample string 6",
  "BillingPostalCode": "sample string 7",
  "BillingStateID": 8,
  "BillingCountryID": 9,
  "DeliveryName": "sample string 10",
  "DeliveryAddress": "sample string 11",
  "DeliveryStreet": "sample string 12",
  "DeliveryPostalCode": "sample string 13",
  "DeliveryStateID": 14,
  "DeliveryCountryID": 15,
  "TrackingNumber": "sample string 16",
  "IsCourierBooked": true,
  "PickupTime": "2020-02-27T04:55:45.1786804+11:00",
  "IsOrderRequirePicking": true,
  "PriorityID": 20,
  "PickingStatusID": 21,
  "CourrierID": 22,
  "CourrierName": "sample string 23",
  "InvoiceNotesID": 24,
  "GeneralNotesInformation": "sample string 25",
  "NotesToAppearOnInvoice": "sample string 26",
  "CreatedBy": 27,
  "CreatedDate": "2020-02-27T04:55:45.1786804+11:00",
  "ModifiedBy": 29,
  "ModifiedDate": "2020-02-27T04:55:45.1786804+11:00"
}

application/xml, text/xml

Sample:
<CourierModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models">
  <BillingAddress>sample string 5</BillingAddress>
  <BillingCountryID>9</BillingCountryID>
  <BillingFax>sample string 4</BillingFax>
  <BillingPhone>sample string 3</BillingPhone>
  <BillingPostalCode>sample string 7</BillingPostalCode>
  <BillingStateID>8</BillingStateID>
  <BillingStreet>sample string 6</BillingStreet>
  <CourrierID>22</CourrierID>
  <CourrierName>sample string 23</CourrierName>
  <CreatedBy>27</CreatedBy>
  <CreatedDate>2020-02-27T04:55:45.1786804+11:00</CreatedDate>
  <DeliveryAddress>sample string 11</DeliveryAddress>
  <DeliveryCountryID>15</DeliveryCountryID>
  <DeliveryName>sample string 10</DeliveryName>
  <DeliveryPostalCode>sample string 13</DeliveryPostalCode>
  <DeliveryStateID>14</DeliveryStateID>
  <DeliveryStreet>sample string 12</DeliveryStreet>
  <GeneralNotesInformation>sample string 25</GeneralNotesInformation>
  <InvoiceBillingID>1</InvoiceBillingID>
  <InvoiceID>2</InvoiceID>
  <InvoiceNotesID>24</InvoiceNotesID>
  <IsCourierBooked>true</IsCourierBooked>
  <IsOrderRequirePicking>true</IsOrderRequirePicking>
  <ModifiedBy>29</ModifiedBy>
  <ModifiedDate>2020-02-27T04:55:45.1786804+11:00</ModifiedDate>
  <NotesToAppearOnInvoice>sample string 26</NotesToAppearOnInvoice>
  <PickingStatusID>21</PickingStatusID>
  <PickupTime>2020-02-27T04:55:45.1786804+11:00</PickupTime>
  <PriorityID>20</PriorityID>
  <TrackingNumber>sample string 16</TrackingNumber>
</CourierModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.