| GET | /Crm/Orders/For/Mobile |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| D1 | query | DateTime | No | |
| D2 | query | DateTime | No | |
| BranchId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<CrmOrdersForMobile> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderId | form | int? | No | |
| SubOrderId | form | int? | No | |
| CollectId | form | int? | No | |
| OrderStatus | form | int? | No | |
| OrderDate | form | DateTime | No | |
| DeliveryDate | form | DateTime? | No | |
| SupplierId | form | int? | No | |
| SupplierBranchName | form | string | No | |
| RecipientId | form | int? | No | |
| RecipientBranchName | form | string | No | |
| RecipientCompanyName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Crm/Orders/For/Mobile HTTP/1.1 Host: apex.nikoratrade.ge Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"OrderId":0,"SubOrderId":0,"CollectId":0,"OrderStatus":0,"OrderDate":"\/Date(-62135596800000-0000)\/","DeliveryDate":"\/Date(-62135596800000-0000)\/","SupplierId":0,"SupplierBranchName":"String","RecipientId":0,"RecipientBranchName":"String","RecipientCompanyName":"String"}]}