GET api/Account?APIKey={APIKey}&ClientId={ClientId}&AccountNumber={AccountNumber}&CustomColumns={CustomColumns}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
APIKey

string

Required

ClientId

string

Required

AccountNumber

string

Required

CustomColumns

string

Default value is

Body Parameters

None.

Response Information

Resource Description

AccountRequest
NameDescriptionTypeAdditional information
Account

Account

None.

Response Formats

application/json, text/json

Sample:
{
  "Account": {
    "Id": "e561711b-2348-4a97-9167-fb7d09f9d5d9",
    "Name": "sample string 2",
    "Acronym": "sample string 3",
    "Number": "sample string 4",
    "DefaultPriceLevel": "sample string 5",
    "Member": true,
    "AddressName": "sample string 7",
    "Address1": "sample string 8",
    "Address2": "sample string 9",
    "Address3": "sample string 10",
    "City": "sample string 11",
    "State": "sample string 12",
    "PostalCode": "sample string 13",
    "Country": "sample string 14",
    "MainPhone": "sample string 15",
    "Fax": "sample string 16",
    "Email": "sample string 17",
    "WebSite": "sample string 18",
    "Facebook": "sample string 19",
    "Twitter": "sample string 20",
    "LinkedIn": "sample string 21",
    "Instgram": "sample string 22",
    "FaceBook": "sample string 23",
    "YouTube": "sample string 24",
    "PrimaryContact": {
      "Id": "8436d29e-beba-4ef3-9dcb-b314e2c8cfdc",
      "Number": "sample string 2",
      "Name": "sample string 3"
    },
    "Custom": {
      "Attribute": [
        {
          "Type": 0,
          "Key": "sample string 1",
          "Value": "sample string 2",
          "FormattedValue": "sample string 3"
        },
        {
          "Type": 0,
          "Key": "sample string 1",
          "Value": "sample string 2",
          "FormattedValue": "sample string 3"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<AccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.Account">
  <Account>
    <Acronym>sample string 3</Acronym>
    <Address1>sample string 8</Address1>
    <Address2>sample string 9</Address2>
    <Address3>sample string 10</Address3>
    <AddressName>sample string 7</AddressName>
    <City>sample string 11</City>
    <Country>sample string 14</Country>
    <Custom>
      <Attribute xmlns:d4p1="http://schemas.datacontract.org/2004/07/Protech.UX.API.CRMEntity">
        <d4p1:Attribute>
          <d4p1:FormattedValue>sample string 3</d4p1:FormattedValue>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Type>text</d4p1:Type>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:Attribute>
        <d4p1:Attribute>
          <d4p1:FormattedValue>sample string 3</d4p1:FormattedValue>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Type>text</d4p1:Type>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:Attribute>
      </Attribute>
    </Custom>
    <DefaultPriceLevel>sample string 5</DefaultPriceLevel>
    <Email>sample string 17</Email>
    <FaceBook>sample string 23</FaceBook>
    <Facebook>sample string 19</Facebook>
    <Fax>sample string 16</Fax>
    <Id>e561711b-2348-4a97-9167-fb7d09f9d5d9</Id>
    <Instgram>sample string 22</Instgram>
    <LinkedIn>sample string 21</LinkedIn>
    <MainPhone>sample string 15</MainPhone>
    <Member>true</Member>
    <Name>sample string 2</Name>
    <Number>sample string 4</Number>
    <PostalCode>sample string 13</PostalCode>
    <PrimaryContact>
      <Id>8436d29e-beba-4ef3-9dcb-b314e2c8cfdc</Id>
      <Name>sample string 3</Name>
      <Number>sample string 2</Number>
    </PrimaryContact>
    <State>sample string 12</State>
    <Twitter>sample string 20</Twitter>
    <WebSite>sample string 18</WebSite>
    <YouTube>sample string 24</YouTube>
  </Account>
</AccountRequest>