GET api/sitecustomerapi/sitecustomer/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
SiteCustomerViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| code | integer |
Required |
|
| id | globally unique identifier |
None. |
|
| name | string |
Required String length: inclusive between 0 and 100 |
|
| remark | string |
None. |
|
| site_id | globally unique identifier |
Required |
Response Formats
application/json, text/json
Sample:
{
"active": true,
"code": 2,
"id": "3f1e4f46-93a8-4a13-9a9c-53e21ef6c32c",
"name": "sample string 4",
"remark": "sample string 5",
"site_id": "0d6c749b-d259-443d-b134-a633d559ad44"
}
application/xml, text/xml
Sample:
<sitecustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <code>2</code> <id>3f1e4f46-93a8-4a13-9a9c-53e21ef6c32c</id> <name>sample string 4</name> <remark>sample string 5</remark> <site_id>0d6c749b-d259-443d-b134-a633d559ad44</site_id> </sitecustomer>