GET api/Catering/GetOrderResources
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CateringOrderHistoryResourceViewName | Description | Type | Additional information |
---|---|---|---|
CompanyAssign | Collection of CompanyAssignView |
None. |
|
Delivery | Collection of BaseKeyPair |
None. |
|
Vehicle | Collection of BaseKeyPair |
None. |
Response Formats
application/json, text/json
Sample:
{ "companyAssign": [ { "adminId": "sample string 1", "adminName": "sample string 2", "companies": [ { "id": 1, "companyName": "sample string 1" }, { "id": 1, "companyName": "sample string 1" } ] }, { "adminId": "sample string 1", "adminName": "sample string 2", "companies": [ { "id": 1, "companyName": "sample string 1" }, { "id": 1, "companyName": "sample string 1" } ] } ], "delivery": [ { "id": 1, "value": "sample string 2" }, { "id": 1, "value": "sample string 2" } ], "vehicle": [ { "id": 1, "value": "sample string 2" }, { "id": 1, "value": "sample string 2" } ] }
text/html
Sample:
{"companyAssign":[{"adminId":"sample string 1","adminName":"sample string 2","companies":[{"id":1,"companyName":"sample string 1"},{"id":1,"companyName":"sample string 1"}]},{"adminId":"sample string 1","adminName":"sample string 2","companies":[{"id":1,"companyName":"sample string 1"},{"id":1,"companyName":"sample string 1"}]}],"delivery":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}],"vehicle":[{"id":1,"value":"sample string 2"},{"id":1,"value":"sample string 2"}]}
application/xml, text/xml
Sample:
<CateringOrderHistoryResourceView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api"> <CompanyAssign> <CompanyAssignView> <AdminId>sample string 1</AdminId> <AdminName>sample string 2</AdminName> <Companies> <CompanyView> <CompanyName>sample string 1</CompanyName> <Id>1</Id> </CompanyView> <CompanyView> <CompanyName>sample string 1</CompanyName> <Id>1</Id> </CompanyView> </Companies> </CompanyAssignView> <CompanyAssignView> <AdminId>sample string 1</AdminId> <AdminName>sample string 2</AdminName> <Companies> <CompanyView> <CompanyName>sample string 1</CompanyName> <Id>1</Id> </CompanyView> <CompanyView> <CompanyName>sample string 1</CompanyName> <Id>1</Id> </CompanyView> </Companies> </CompanyAssignView> </CompanyAssign> <Delivery xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models"> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> </Delivery> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.Models"> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> <d2p1:BaseKeyPair> <d2p1:Id>1</d2p1:Id> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:BaseKeyPair> </Vehicle> </CateringOrderHistoryResourceView>