Required permission: | CustomerArea-Setup.GET |
GET | /CustomerAreas |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerAreas | form | List<AcArea> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcAreaID | form | string | Yes | Area ID |
AcAreaDesc | form | string | Yes | Description |
CreateBy | form | string | No | |
CreateDate | form | DateTime | No | |
EditBy | form | string | No | |
EditDate | form | DateTime | No | |
Stamp | form | int | 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 /CustomerAreas HTTP/1.1 Host: snr2u.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { CustomerAreas: [ { AcAreaID: String, AcAreaDesc: String, CreateBy: String, CreateDate: 0001-01-01, EditBy: String, EditDate: 0001-01-01, Stamp: 0 } ], ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } } }