GET | /Distribution/MobileUsers/Customers/Turnover/Documents | ||
---|---|---|---|
GET | /Distribution/MobileUsers/{UserId}/Customers/{BranchId}/Turnover/Documents |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserId | path | int | No | |
BranchId | path | int | No | |
D1 | query | DateTime | No | |
D2 | query | DateTime | No | |
PresalerId | query | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<MobileUserCustomerTurnoverDocument> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecType | form | int | No | |
DocType | form | int | No | |
DocId | form | string | No | |
DDate | form | DateTime? | No | |
OperId | form | string | No | |
Contents | form | string | No | |
Amount | form | decimal? | No | |
DocNum | form | string | No | |
WaybillId | form | int? | No | |
PresalerId | form | int? | No | |
TaxDocId | form | long? | 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 /Distribution/MobileUsers/Customers/Turnover/Documents 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: [ { RecType: 0, DocType: 0, DocId: String, DDate: 0001-01-01, OperId: String, Contents: String, Amount: 0, DocNum: String, WaybillId: 0, PresalerId: 0, TaxDocId: 0 } ] }