POST api/ApiIntegration/SBApiGetProjectClient

Request Information

URI Parameters

None.

Body Parameters

ApiProjectParam
NameDescriptionTypeAdditional information
PrivateApiKey

string

None.

Project

ApiProjectInfo

None.

Client

ApiClientInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "privateApiKey": "sample string 1",
  "project": {
    "projectKey": "8438ceec-3e6a-4cc0-bd9f-4c829e5f34d8",
    "projectName": "sample string 2"
  },
  "client": {
    "apiResponse": {
      "responseCode": 1,
      "returnKey": "ff9979ac-68b7-48c9-ad67-5728d54ba1a1",
      "responseNote": "sample string 2"
    },
    "clientKey": "84fef062-45ea-490b-8477-7cc08e7688cf",
    "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:
<ApiProjectParam 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>84fef062-45ea-490b-8477-7cc08e7688cf</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>ff9979ac-68b7-48c9-ad67-5728d54ba1a1</ReturnKey>
    </apiResponse>
  </Client>
  <PrivateApiKey>sample string 1</PrivateApiKey>
  <Project>
    <ProjectKey>8438ceec-3e6a-4cc0-bd9f-4c829e5f34d8</ProjectKey>
    <ProjectName>sample string 2</ProjectName>
  </Project>
</ApiProjectParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiClientResponseModel
NameDescriptionTypeAdditional information
apiResponse

ApiResponse

None.

ClientInfo

ApiClientInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "apiResponse": {
    "responseCode": 1,
    "returnKey": "6a9d2fb0-a330-492a-ba32-8e497a2ac114",
    "responseNote": "sample string 2"
  },
  "clientInfo": {
    "apiResponse": {
      "responseCode": 1,
      "returnKey": "6a9d2fb0-a330-492a-ba32-8e497a2ac114",
      "responseNote": "sample string 2"
    },
    "clientKey": "28609a44-e9b3-4dd5-a737-68d0471842bc",
    "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:
<ApiClientResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <ClientInfo>
    <City>sample string 8</City>
    <ClientKey>28609a44-e9b3-4dd5-a737-68d0471842bc</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>6a9d2fb0-a330-492a-ba32-8e497a2ac114</ReturnKey>
    </apiResponse>
  </ClientInfo>
  <apiResponse>
    <ResponseCode>1</ResponseCode>
    <ResponseNote>sample string 2</ResponseNote>
    <ReturnKey>6a9d2fb0-a330-492a-ba32-8e497a2ac114</ReturnKey>
  </apiResponse>
</ApiClientResponseModel>