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": "d588f0ba-c3c9-4eaa-8215-85c1a09f7e1f",
    "projectName": "sample string 2"
  },
  "client": {
    "apiResponse": {
      "responseCode": 1,
      "returnKey": "86c994ab-6ce8-44b1-8fa4-4f5b064cef70",
      "responseNote": "sample string 2"
    },
    "clientKey": "b0c89987-b484-496f-bdd2-9baf48bd5ada",
    "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>b0c89987-b484-496f-bdd2-9baf48bd5ada</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>86c994ab-6ce8-44b1-8fa4-4f5b064cef70</ReturnKey>
    </apiResponse>
  </Client>
  <PrivateApiKey>sample string 1</PrivateApiKey>
  <Project>
    <ProjectKey>d588f0ba-c3c9-4eaa-8215-85c1a09f7e1f</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": "764bd219-8d01-4c69-8d4b-93603bdbe6d5",
    "responseNote": "sample string 2"
  },
  "clientInfo": {
    "apiResponse": {
      "responseCode": 1,
      "returnKey": "764bd219-8d01-4c69-8d4b-93603bdbe6d5",
      "responseNote": "sample string 2"
    },
    "clientKey": "ccf37665-53ce-4210-96ba-cb8950b53de5",
    "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>ccf37665-53ce-4210-96ba-cb8950b53de5</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>764bd219-8d01-4c69-8d4b-93603bdbe6d5</ReturnKey>
    </apiResponse>
  </ClientInfo>
  <apiResponse>
    <ResponseCode>1</ResponseCode>
    <ResponseNote>sample string 2</ResponseNote>
    <ReturnKey>764bd219-8d01-4c69-8d4b-93603bdbe6d5</ReturnKey>
  </apiResponse>
</ApiClientResponseModel>