GET api/sitecustomerapi/sitecustomer/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

SiteCustomerViewModel
NameDescriptionTypeAdditional information
active

boolean

Required

code

integer

Required

delay_between_scans

integer

None.

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,
  "delay_between_scans": 1,
  "id": "cc0ea639-af0a-493f-bfb2-e4235948df09",
  "name": "sample string 4",
  "remark": "sample string 5",
  "site_id": "dc8f620f-2c97-46ab-8691-9eec61d3a792"
}

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>
  <delay_between_scans>1</delay_between_scans>
  <id>cc0ea639-af0a-493f-bfb2-e4235948df09</id>
  <name>sample string 4</name>
  <remark>sample string 5</remark>
  <site_id>dc8f620f-2c97-46ab-8691-9eec61d3a792</site_id>
</sitecustomer>