POST api/Sync/ChangeTwoCheckDocumentState
Request Information
URI Parameters
None.
Body Parameters
TwoCheckRequestModelName | Description | Type | Additional information |
---|---|---|---|
CountryId | string |
None. |
|
SenderCode | string |
None. |
|
DocumentTypeId | integer |
None. |
|
Number | string |
None. |
|
Series | string |
None. |
|
Status | integer |
None. |
|
StatusDescription | string |
None. |
|
Date | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "CountryId": "sample string 1", "SenderCode": "sample string 2", "DocumentTypeId": 3, "Number": "sample string 4", "Series": "sample string 5", "Status": 6, "StatusDescription": "sample string 7", "Date": "2024-11-02T00:52:28.1349675+00:00" }
application/xml, text/xml
Sample:
<TwoCheckRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.Web.Api.Models"> <CountryId>sample string 1</CountryId> <Date>2024-11-02T00:52:28.1349675+00:00</Date> <DocumentTypeId>3</DocumentTypeId> <Number>sample string 4</Number> <SenderCode>sample string 2</SenderCode> <Series>sample string 5</Series> <Status>6</Status> <StatusDescription>sample string 7</StatusDescription> </TwoCheckRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Exception | Exception |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } }
application/xml, text/xml
Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.Web.Api.Models"> <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult> <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </Exception> <Message>sample string 2</Message> <Success>true</Success> </ResponseModel>