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": "756141db-810e-43bc-8e56-d69c00c34c48",
      "responseNote": "sample string 2"
    },
    "clientKey": "0df60025-e10a-43c2-b822-2c6288c5b98a",
    "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",
    "email": "sample string 11",
    "criticalNote": "sample string 12",
    "showCritical": true,
    "isOwner": true,
    "pay1Percent": 15,
    "pay2Percent": 16,
    "pay2Days": 17,
    "terms2": 18,
    "pay3Days": 19,
    "terms3": 20,
    "discount": 21
  }
}

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>0df60025-e10a-43c2-b822-2c6288c5b98a</ClientKey>
    <ClientName>sample string 2</ClientName>
    <ClientNote>sample string 3</ClientNote>
    <ContactName>sample string 4</ContactName>
    <CriticalNote>sample string 12</CriticalNote>
    <Discount>21</Discount>
    <Email>sample string 11</Email>
    <IsOwner>true</IsOwner>
    <Mobile>sample string 10</Mobile>
    <NoAndStreet>sample string 6</NoAndStreet>
    <Pay1Percent>15</Pay1Percent>
    <Pay2Days>17</Pay2Days>
    <Pay2Percent>16</Pay2Percent>
    <Pay3Days>19</Pay3Days>
    <Phone>sample string 9</Phone>
    <Salutation>sample string 5</Salutation>
    <ShowCritical>true</ShowCritical>
    <Suburb>sample string 7</Suburb>
    <Terms2>18</Terms2>
    <Terms3>20</Terms3>
    <apiResponse>
      <ResponseCode>1</ResponseCode>
      <ResponseNote>sample string 2</ResponseNote>
      <ReturnKey>756141db-810e-43bc-8e56-d69c00c34c48</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.

Email

string

None.

CriticalNote

string

None.

ShowCritical

boolean

None.

IsOwner

boolean

None.

Pay1Percent

integer

None.

Pay2Percent

integer

None.

Pay2Days

integer

None.

Terms2

integer

None.

Pay3Days

integer

None.

Terms3

integer

None.

Discount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "apiResponse": {
    "responseCode": 1,
    "returnKey": "585b3650-729c-41e3-93ae-ea8beea53e7c",
    "responseNote": "sample string 2"
  },
  "clientKey": "1e7a8acf-eb57-46be-87a0-bea65687b5d7",
  "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",
  "email": "sample string 11",
  "criticalNote": "sample string 12",
  "showCritical": true,
  "isOwner": true,
  "pay1Percent": 15,
  "pay2Percent": 16,
  "pay2Days": 17,
  "terms2": 18,
  "pay3Days": 19,
  "terms3": 20,
  "discount": 21
}

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>1e7a8acf-eb57-46be-87a0-bea65687b5d7</ClientKey>
  <ClientName>sample string 2</ClientName>
  <ClientNote>sample string 3</ClientNote>
  <ContactName>sample string 4</ContactName>
  <CriticalNote>sample string 12</CriticalNote>
  <Discount>21</Discount>
  <Email>sample string 11</Email>
  <IsOwner>true</IsOwner>
  <Mobile>sample string 10</Mobile>
  <NoAndStreet>sample string 6</NoAndStreet>
  <Pay1Percent>15</Pay1Percent>
  <Pay2Days>17</Pay2Days>
  <Pay2Percent>16</Pay2Percent>
  <Pay3Days>19</Pay3Days>
  <Phone>sample string 9</Phone>
  <Salutation>sample string 5</Salutation>
  <ShowCritical>true</ShowCritical>
  <Suburb>sample string 7</Suburb>
  <Terms2>18</Terms2>
  <Terms3>20</Terms3>
  <apiResponse>
    <ResponseCode>1</ResponseCode>
    <ResponseNote>sample string 2</ResponseNote>
    <ReturnKey>585b3650-729c-41e3-93ae-ea8beea53e7c</ReturnKey>
  </apiResponse>
</ApiClientInfo>