POST api/ToResware/AddNote
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| request | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Login": {
"Username": "sample string 1",
"Password": "sample string 2"
},
"ReswareLogin": {
"UserName": "sample string 1",
"Password": "sample string 2"
},
"ReceiveNoteData": {
"CoordinatorTypeID": 1,
"CurativeID": 1,
"CurativeType": 0,
"Documents": [
{
"FileName": "sample string 1",
"DocumentTypeID": 2,
"Description": "sample string 3",
"InternalOnly": true,
"DocumentBodyBase64": "sample string 5"
},
{
"FileName": "sample string 1",
"DocumentTypeID": 2,
"Description": "sample string 3",
"InternalOnly": true,
"DocumentBodyBase64": "sample string 5"
},
{
"FileName": "sample string 1",
"DocumentTypeID": 2,
"Description": "sample string 3",
"InternalOnly": true,
"DocumentBodyBase64": "sample string 5"
}
],
"FileNumber": "sample string 2",
"NoteBody": "sample string 3",
"NoteSubject": "sample string 4",
"ToCoordinatorID": 5
}
}
application/xml, text/xml
Sample:
<ToReswareRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.ToReswareObjects">
<Login>
<Password>sample string 2</Password>
<Username>sample string 1</Username>
</Login>
<ReceiveNoteData>
<CoordinatorTypeID>1</CoordinatorTypeID>
<CurativeID>1</CurativeID>
<CurativeType>POLICY</CurativeType>
<Documents>
<ReceiveNoteDocument>
<Description>sample string 3</Description>
<DocumentBodyBase64>sample string 5</DocumentBodyBase64>
<DocumentTypeID>2</DocumentTypeID>
<FileName>sample string 1</FileName>
<InternalOnly>true</InternalOnly>
</ReceiveNoteDocument>
<ReceiveNoteDocument>
<Description>sample string 3</Description>
<DocumentBodyBase64>sample string 5</DocumentBodyBase64>
<DocumentTypeID>2</DocumentTypeID>
<FileName>sample string 1</FileName>
<InternalOnly>true</InternalOnly>
</ReceiveNoteDocument>
<ReceiveNoteDocument>
<Description>sample string 3</Description>
<DocumentBodyBase64>sample string 5</DocumentBodyBase64>
<DocumentTypeID>2</DocumentTypeID>
<FileName>sample string 1</FileName>
<InternalOnly>true</InternalOnly>
</ReceiveNoteDocument>
</Documents>
<FileNumber>sample string 2</FileNumber>
<NoteBody>sample string 3</NoteBody>
<NoteSubject>sample string 4</NoteSubject>
<ToCoordinatorID>5</ToCoordinatorID>
</ReceiveNoteData>
<ReswareLogin>
<Password>sample string 2</Password>
<UserName>sample string 1</UserName>
</ReswareLogin>
</ToReswareRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"ReceiveNoteResponse": {
"Message": "sample string 1",
"ResponseCode": 0
}
}
application/xml, text/xml
Sample:
<ToReswareResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Westcor.TMPOH.Poco.ToReswareObjects">
<ReceiveNoteResponse>
<Message>sample string 1</Message>
<ResponseCode>SUCCESS</ResponseCode>
</ReceiveNoteResponse>
</ToReswareResponse>