POST api/Delivery/SkootarCreatJob
Request Information
URI Parameters
None.
Body Parameters
CreateJobInput| Name | Description | Type | Additional information |
|---|---|---|---|
| orderId | integer |
None. |
|
| restaurantId | integer |
None. |
|
| pickupTime | string |
None. |
|
| remark | string |
None. |
|
| option | string |
None. |
|
| accountType | SkootarAccount |
None. |
Request Formats
application/json, text/json
Sample:
{
"orderId": 1,
"restaurantId": 2,
"pickupTime": "sample string 3",
"remark": "sample string 4",
"option": "sample string 5",
"accountType": 1
}
text/html
Sample:
{"orderId":1,"restaurantId":2,"pickupTime":"sample string 3","remark":"sample string 4","option":"sample string 5","accountType":1}
application/xml, text/xml
Sample:
<CreateJobInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Models.Delivery"> <AccountType>Normal</AccountType> <Option>sample string 5</Option> <OrderId>1</OrderId> <PickupTime>sample string 3</PickupTime> <Remark>sample string 4</Remark> <RestaurantId>2</RestaurantId> </CreateJobInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CateringOrderHistoryDetailAdminView| Name | Description | Type | Additional information |
|---|---|---|---|
| Phone | string |
None. |
|
| PhoneBackup | string |
None. |
|
| RestaurantsName | string |
None. |
|
| Note | string |
None. |
|
| RecipientName | string |
None. |
|
| UserTaxInformation | UserTaxInformationView |
None. |
|
| TransactionStatus | CateringOrderOmiseTransactionEnum |
None. |
|
| CustomerId | integer |
None. |
|
| CompanyAssign | CompanyView |
None. |
|
| Admin | string |
None. |
|
| ContactFirstName | string |
None. |
|
| ContactLastName | string |
None. |
|
| ContactPhoneNumber | string |
None. |
|
| ContactEmail | string |
None. |
|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| EventDate | date |
None. |
|
| Address | string |
None. |
|
| DeliveryLocation | Object |
None. |
|
| DeliveryCustomAddress | string |
None. |
|
| DeliveryAddressId | integer |
None. |
|
| TaxInvoiceNeeded | boolean |
None. |
|
| CompanyName | string |
None. |
|
| CompanyAddress | string |
None. |
|
| CompanyTaxIdentification | string |
None. |
|
| CompanyBranch | string |
None. |
|
| DeliveryAddress | DeliveryAddress |
None. |
|
| Status | string |
None. |
|
| StatusEnum | CateringOrderStatusEnum |
None. |
|
| Restaurants | Collection of CateringOrderHistoryDetailRestaurantView |
None. |
|
| AddPoint | boolean |
None. |
|
| BookingPromotionId | integer |
None. |
|
| PromotionTotalDiscountAmount | integer |
None. |
|
| PromotionCode | string |
None. |
|
| DeliveryDiscount | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| PaymentType | CateringOrderPaymentTypeEnum |
None. |
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.