GET | /Accounting/Locations/ |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LocationId | query | int? | No | |
BrId | query | int? | No | |
MgrId | query | int? | No | |
BranchId | query | int? | No | |
BrChildLoc | query | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<Location> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
locationid | form | int | No | |
mgrid | form | int? | No | |
name | form | string | No | |
namee | form | string | No | |
hcode | form | string | No | |
brid | form | int | No | |
hrclvl | form | int | No | |
hccrt | form | string | No | |
mgridp | form | int | No | |
Branch | form | Branch | No | |
branch_id | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BranchID | form | int | No | |
Name | form | string | No | |
Description | form | string | No | |
Spend | form | bool | 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 /Accounting/Locations/ 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: [ { locationid: 0, mgrid: 0, name: String, namee: String, hcode: String, brid: 0, hrclvl: 0, hccrt: String, mgridp: 0, Branch: { BranchID: 0, Name: String, Description: String, Spend: False }, branch_id: 0 } ] }