POST api/ApiIntegration/SBApiUpdateProject
Request Information
URI Parameters
None.
Body Parameters
ApiProjectParamName | Description | Type | Additional information |
---|---|---|---|
PrivateApiKey | string |
None. |
|
Project | ApiProjectInfo |
None. |
|
Client | ApiClientInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "privateApiKey": "sample string 1", "project": { "projectKey": "fc5ca3dc-6dfd-4596-975b-b7d381c3debf", "projectName": "sample string 2" }, "client": { "apiResponse": { "responseCode": 1, "returnKey": "6ee4c2dd-2983-4bda-baaa-f6623ed2a306", "responseNote": "sample string 2" }, "clientKey": "cd08985f-7391-4556-8cd3-8ad37986f671", "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>cd08985f-7391-4556-8cd3-8ad37986f671</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>6ee4c2dd-2983-4bda-baaa-f6623ed2a306</ReturnKey> </apiResponse> </Client> <PrivateApiKey>sample string 1</PrivateApiKey> <Project> <ProjectKey>fc5ca3dc-6dfd-4596-975b-b7d381c3debf</ProjectKey> <ProjectName>sample string 2</ProjectName> </Project> </ApiProjectParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseCode | integer |
None. |
|
ReturnKey | globally unique identifier |
None. |
|
ResponseNote | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "responseCode": 1, "returnKey": "fb27ddc4-9cb0-4479-a93e-37ed5977c2b1", "responseNote": "sample string 2" }
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <ResponseCode>1</ResponseCode> <ResponseNote>sample string 2</ResponseNote> <ReturnKey>fb27ddc4-9cb0-4479-a93e-37ed5977c2b1</ReturnKey> </ApiResponse>