GET api/CRMCompany

Get Companies

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Companies
NameDescriptionTypeAdditional information
CompanyID

integer

None.

CompanyCode

string

Required

String length: inclusive between 0 and 10

CompanyName

string

Required

String length: inclusive between 0 and 100

CompanyNameAlias

string

String length: inclusive between 0 and 10

Address1

string

Required

String length: inclusive between 0 and 100

Address2

string

String length: inclusive between 0 and 100

City

string

String length: inclusive between 0 and 50

PostalCode

string

Required

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.

RegionID

integer

None.

RegionCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "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"
}

application/xml, text/xml

Sample:
<Companies 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:10.9863648-06:00</CreatedDateTime>
  <CreatedUserID>14</CreatedUserID>
  <UpdatedDateTime>2017-12-15T14:07:10.9863648-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>