GET Client?erpCode={erpCode}

Retrieve a single client based on erp code.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
erpCode

Erpcode reference to the client.

string

Required

Body Parameters

None.

Response Information

Resource Description

A ClientRestResult object.

ClientRestResult
NameDescriptionTypeAdditional information
RestItems

Collection of ClientRestItem objects.

Collection of ClientRestItem

None.

Response Formats

application/json, text/json

Sample:
{
  "RestItems": [
    {
      "Id": 1,
      "CompanyName": "sample string 2"
    },
    {
      "Id": 1,
      "CompanyName": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ClientRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models">
  <RestItems>
    <ClientRestItem>
      <CompanyName>sample string 2</CompanyName>
      <Id>1</Id>
    </ClientRestItem>
    <ClientRestItem>
      <CompanyName>sample string 2</CompanyName>
      <Id>1</Id>
    </ClientRestItem>
  </RestItems>
</ClientRestResult>