GET api/CRMSite/{ID}

Get Site

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Sites
NameDescriptionTypeAdditional information
SiteID

integer

None.

SiteCode

string

Required

String length: inclusive between 0 and 35

SiteName

string

String length: inclusive between 0 and 50

SiteNameAlias

string

None.

Address1

string

Required

String length: inclusive between 0 and 100

Address2

string

String length: inclusive between 0 and 100

City

string

Required

String length: inclusive between 0 and 50

PostalCode

string

String length: inclusive between 0 and 20

State

string

Required

String length: inclusive between 0 and 25

Country

string

Required

String length: inclusive between 0 and 25

IsEnabled

boolean

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

AreaMapID

integer

None.

IsBenchmark

boolean

None.

FacilityID

integer

None.

Facilities

Facilities

None.

FacilityCode

string

None.

AreaMapCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "SiteID": 1,
  "SiteCode": "sample string 2",
  "SiteName": "sample string 3",
  "SiteNameAlias": "sample string 4",
  "Address1": "sample string 5",
  "Address2": "sample string 6",
  "City": "sample string 7",
  "PostalCode": "sample string 8",
  "State": "sample string 9",
  "Country": "sample string 10",
  "IsEnabled": true,
  "Latitude": 12.1,
  "Longitude": 13.1,
  "AreaMapID": 14,
  "IsBenchmark": true,
  "FacilityID": 15,
  "Facilities": {
    "FacilityID": 1,
    "FacilityCode": "sample string 2",
    "FacilityName": "sample string 3",
    "FacilityNameAlias": "sample string 4",
    "Address1": "sample string 5",
    "Address2": "sample string 6",
    "City": "sample string 7",
    "PostalCode": "sample string 8",
    "State": "sample string 9",
    "Country": "sample string 10",
    "IsEnabled": true,
    "IsNss": true,
    "CompanyID": 13,
    "Companies": {
      "CompanyID": 1,
      "CompanyCode": "sample string 2",
      "CompanyName": "sample string 3",
      "CompanyNameAlias": "sample string 4",
      "Address1": "sample string 5",
      "Address2": "sample string 6",
      "City": "sample string 7",
      "PostalCode": "sample string 8",
      "State": "sample string 9",
      "Country": "sample string 10",
      "IsEnabled": true,
      "RegionID": 12,
      "RegionCode": "sample string 13"
    },
    "CompanyCode": "sample string 14"
  },
  "FacilityCode": "sample string 16",
  "AreaMapCode": "sample string 17"
}

application/xml, text/xml

Sample:
<Sites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.CRM">
  <CreatedDateTime>2017-12-15T14:07:19.4080821-06:00</CreatedDateTime>
  <CreatedUserID>18</CreatedUserID>
  <UpdatedDateTime>2017-12-15T14:07:19.4080821-06:00</UpdatedDateTime>
  <UpdatedUserID>1</UpdatedUserID>
  <Address1>sample string 5</Address1>
  <Address2>sample string 6</Address2>
  <AreaMapCode>sample string 17</AreaMapCode>
  <AreaMapID>14</AreaMapID>
  <City>sample string 7</City>
  <Country>sample string 10</Country>
  <Facilities>
    <CreatedDateTime>2017-12-15T14:07:19.4080821-06:00</CreatedDateTime>
    <CreatedUserID>15</CreatedUserID>
    <UpdatedDateTime>2017-12-15T14:07:19.4080821-06:00</UpdatedDateTime>
    <UpdatedUserID>1</UpdatedUserID>
    <Address1>sample string 5</Address1>
    <Address2>sample string 6</Address2>
    <City>sample string 7</City>
    <Companies>
      <CreatedDateTime>2017-12-15T14:07:19.4080821-06:00</CreatedDateTime>
      <CreatedUserID>14</CreatedUserID>
      <UpdatedDateTime>2017-12-15T14:07:19.4080821-06:00</UpdatedDateTime>
      <UpdatedUserID>1</UpdatedUserID>
      <Address1>sample string 5</Address1>
      <Address2>sample string 6</Address2>
      <City>sample string 7</City>
      <CompanyCode>sample string 2</CompanyCode>
      <CompanyID>1</CompanyID>
      <CompanyName>sample string 3</CompanyName>
      <CompanyNameAlias>sample string 4</CompanyNameAlias>
      <Country>sample string 10</Country>
      <IsEnabled>true</IsEnabled>
      <PostalCode>sample string 8</PostalCode>
      <RegionCode>sample string 13</RegionCode>
      <RegionID>12</RegionID>
      <State>sample string 9</State>
    </Companies>
    <CompanyCode>sample string 14</CompanyCode>
    <CompanyID>13</CompanyID>
    <Country>sample string 10</Country>
    <FacilityCode>sample string 2</FacilityCode>
    <FacilityID>1</FacilityID>
    <FacilityName>sample string 3</FacilityName>
    <FacilityNameAlias>sample string 4</FacilityNameAlias>
    <IsEnabled>true</IsEnabled>
    <IsNss>true</IsNss>
    <PostalCode>sample string 8</PostalCode>
    <State>sample string 9</State>
  </Facilities>
  <FacilityCode>sample string 16</FacilityCode>
  <FacilityID>15</FacilityID>
  <IsBenchmark>true</IsBenchmark>
  <IsEnabled>true</IsEnabled>
  <Latitude>12.1</Latitude>
  <Longitude>13.1</Longitude>
  <PostalCode>sample string 8</PostalCode>
  <SiteCode>sample string 2</SiteCode>
  <SiteID>1</SiteID>
  <SiteName>sample string 3</SiteName>
  <SiteNameAlias>sample string 4</SiteNameAlias>
  <State>sample string 9</State>
</Sites>