POST api/ApiIntegration/SBApiGetClientInfo

Request Information

URI Parameters

None.

Body Parameters

ApiGetClientInfo
NameDescriptionTypeAdditional information
PrivateApiKey

string

None.

Client

ApiClientInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "privateApiKey": "sample string 1",
  "client": {
    "apiResponse": {
      "responseCode": 1,
      "returnKey": "bda7893a-0c7a-4681-a9f1-a546cdb36d44",
      "responseNote": "sample string 2"
    },
    "clientKey": "d575a86a-0bea-4095-b6e2-cf6acf4560a9",
    "clientName": "sample string 2",
    "clientNote": "sample string 3",
    "contactName": "sample string 4",
    "salutation": "sample string 5",
    "noAndStreet": "sample string 6",
    "suburb": "sample string 7",
    "city": "sample string 8",
    "phone": "sample string 9",
    "mobile": "sample string 10"
  }
}

application/xml, text/xml

Sample:
<ApiGetClientInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <Client>
    <City>sample string 8</City>
    <ClientKey>d575a86a-0bea-4095-b6e2-cf6acf4560a9</ClientKey>
    <ClientName>sample string 2</ClientName>
    <ClientNote>sample string 3</ClientNote>
    <ContactName>sample string 4</ContactName>
    <Mobile>sample string 10</Mobile>
    <NoAndStreet>sample string 6</NoAndStreet>
    <Phone>sample string 9</Phone>
    <Salutation>sample string 5</Salutation>
    <Suburb>sample string 7</Suburb>
    <apiResponse>
      <ResponseCode>1</ResponseCode>
      <ResponseNote>sample string 2</ResponseNote>
      <ReturnKey>bda7893a-0c7a-4681-a9f1-a546cdb36d44</ReturnKey>
    </apiResponse>
  </Client>
  <PrivateApiKey>sample string 1</PrivateApiKey>
</ApiGetClientInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiClientInfo
NameDescriptionTypeAdditional information
apiResponse

ApiResponse

None.

ClientKey

globally unique identifier

None.

ClientName

string

None.

ClientNote

string

None.

ContactName

string

None.

Salutation

string

None.

NoAndStreet

string

None.

Suburb

string

None.

City

string

None.

Phone

string

None.

Mobile

string

None.

Response Formats

application/json, text/json

Sample:
{
  "apiResponse": {
    "responseCode": 1,
    "returnKey": "67bdfa76-bd81-448b-bed8-cdc3cb4a1f58",
    "responseNote": "sample string 2"
  },
  "clientKey": "377fdc1d-d8f4-4952-97eb-a5d7eb2a4481",
  "clientName": "sample string 2",
  "clientNote": "sample string 3",
  "contactName": "sample string 4",
  "salutation": "sample string 5",
  "noAndStreet": "sample string 6",
  "suburb": "sample string 7",
  "city": "sample string 8",
  "phone": "sample string 9",
  "mobile": "sample string 10"
}

application/xml, text/xml

Sample:
<ApiClientInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <City>sample string 8</City>
  <ClientKey>377fdc1d-d8f4-4952-97eb-a5d7eb2a4481</ClientKey>
  <ClientName>sample string 2</ClientName>
  <ClientNote>sample string 3</ClientNote>
  <ContactName>sample string 4</ContactName>
  <Mobile>sample string 10</Mobile>
  <NoAndStreet>sample string 6</NoAndStreet>
  <Phone>sample string 9</Phone>
  <Salutation>sample string 5</Salutation>
  <Suburb>sample string 7</Suburb>
  <apiResponse>
    <ResponseCode>1</ResponseCode>
    <ResponseNote>sample string 2</ResponseNote>
    <ReturnKey>67bdfa76-bd81-448b-bed8-cdc3cb4a1f58</ReturnKey>
  </apiResponse>
</ApiClientInfo>