| 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 .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
DeliveryDate: 0001-01-01,
SupplierId: 0,
SupplierBranchName: String,
RecipientId: 0,
RecipientBranchName: String,
RecipientCompanyName: String
}
]
}