POST api/ApiIntegration/SBApiGetSalesPersons

Request Information

URI Parameters

None.

Body Parameters

ApiGetSalesPersonsParam
NameDescriptionTypeAdditional information
PrivateApiKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "privateApiKey": "sample string 1"
}

application/xml, text/xml

Sample:
<ApiGetSalesPersonsParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <PrivateApiKey>sample string 1</PrivateApiKey>
</ApiGetSalesPersonsParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiSalesPersonsResponse
NameDescriptionTypeAdditional information
SalesPersons

Collection of ApiSalesPersonInfo

None.

ResponseCode

integer

None.

ReturnKey

globally unique identifier

None.

ResponseNote

string

None.

ErrorString

string

None.

Response Formats

application/json, text/json

Sample:
{
  "salesPersons": [
    {
      "userUid": "c54817fc-7bec-4f48-8b25-e444c2f44bbd",
      "name": "sample string 2"
    },
    {
      "userUid": "c54817fc-7bec-4f48-8b25-e444c2f44bbd",
      "name": "sample string 2"
    }
  ],
  "responseCode": 1,
  "returnKey": "547039f7-c375-4eb2-a01c-b200594f6d01",
  "responseNote": "sample string 2",
  "errorString": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiSalesPersonsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <ErrorString>sample string 3</ErrorString>
  <ResponseCode>1</ResponseCode>
  <ResponseNote>sample string 2</ResponseNote>
  <ReturnKey>547039f7-c375-4eb2-a01c-b200594f6d01</ReturnKey>
  <SalesPersons>
    <ApiSalesPersonInfo>
      <Name>sample string 2</Name>
      <UserUid>c54817fc-7bec-4f48-8b25-e444c2f44bbd</UserUid>
    </ApiSalesPersonInfo>
    <ApiSalesPersonInfo>
      <Name>sample string 2</Name>
      <UserUid>c54817fc-7bec-4f48-8b25-e444c2f44bbd</UserUid>
    </ApiSalesPersonInfo>
  </SalesPersons>
</ApiSalesPersonsResponse>