POST api/ApiIntegration/SBApiAddNotesToJob
Request Information
URI Parameters
None.
Body Parameters
ApiAddNotesToJobParam| Name | Description | Type | Additional information |
|---|---|---|---|
| PrivateApiKey | string |
None. |
|
| JobKey | globally unique identifier |
None. |
|
| Notes | Collection of ApiJobNoteInfo |
None. |
Request Formats
application/json, text/json
Sample:
{
"privateApiKey": "sample string 1",
"jobKey": "1dfeb04f-0855-40c9-97c0-8a788ba9076c",
"notes": [
{
"noteText": "sample string 1"
},
{
"noteText": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<ApiAddNotesToJobParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
<JobKey>1dfeb04f-0855-40c9-97c0-8a788ba9076c</JobKey>
<Notes>
<ApiJobNoteInfo>
<NoteText>sample string 1</NoteText>
</ApiJobNoteInfo>
<ApiJobNoteInfo>
<NoteText>sample string 1</NoteText>
</ApiJobNoteInfo>
</Notes>
<PrivateApiKey>sample string 1</PrivateApiKey>
</ApiAddNotesToJobParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiAddNotesToJobResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| NoteKeys | Collection of globally unique identifier |
None. |
|
| ResponseCode | integer |
None. |
|
| ReturnKey | globally unique identifier |
None. |
|
| ResponseNote | string |
None. |
|
| ErrorString | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"noteKeys": [
"bd8fd283-6c1f-4484-9624-f906a8634b1b",
"e644dde6-fac5-4bae-aac9-dd00e2354851"
],
"responseCode": 1,
"returnKey": "00abe48a-15b3-48a9-a4d0-411c19dbda66",
"responseNote": "sample string 2",
"errorString": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiAddNotesToJobResponse 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>00abe48a-15b3-48a9-a4d0-411c19dbda66</ReturnKey>
<NoteKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>bd8fd283-6c1f-4484-9624-f906a8634b1b</d2p1:guid>
<d2p1:guid>e644dde6-fac5-4bae-aac9-dd00e2354851</d2p1:guid>
</NoteKeys>
</ApiAddNotesToJobResponse>