POST api/Orders/GetSyncReasons
Request Information
URI Parameters
None.
Body Parameters
GetBasevoidReasonRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessId | integer |
None. |
|
| listofsync | Collection of Storedata |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BusinessId": 1,
"listofsync": [
{
"TableName": "sample string 1",
"LastSync": "2026-03-20T14:31:12.60892+00:00"
},
{
"TableName": "sample string 1",
"LastSync": "2026-03-20T14:31:12.60892+00:00"
}
],
"Id": 1
}
application/xml, text/xml
Sample:
<GetBasevoidReasonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<Id>1</Id>
<BusinessId>1</BusinessId>
<listofsync>
<Storedata>
<LastSync>2026-03-20T14:31:12.60892+00:00</LastSync>
<TableName>sample string 1</TableName>
</Storedata>
<Storedata>
<LastSync>2026-03-20T14:31:12.60892+00:00</LastSync>
<TableName>sample string 1</TableName>
</Storedata>
</listofsync>
</GetBasevoidReasonRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetBaseVoidResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Token | globally unique identifier |
None. |
|
| BaseObjects | Collection of BaseReasonModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Token": "4f771bed-1b1b-4a21-baaa-3dea9d599993",
"BaseObjects": [
{
"BusinessId": 1,
"Description": "sample string 1",
"LinkedTo": "sample string 2",
"Sector": "sample string 3",
"DateCreated": "2026-03-20T14:31:12.60892+00:00",
"DateModified": "2026-03-20T14:31:12.60892+00:00",
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:31:12.60892+00:00",
"LastUpdated": "2026-03-20T14:31:12.60892+00:00",
"Id": 1
},
{
"BusinessId": 1,
"Description": "sample string 1",
"LinkedTo": "sample string 2",
"Sector": "sample string 3",
"DateCreated": "2026-03-20T14:31:12.60892+00:00",
"DateModified": "2026-03-20T14:31:12.60892+00:00",
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:31:12.60892+00:00",
"LastUpdated": "2026-03-20T14:31:12.60892+00:00",
"Id": 1
}
]
}
application/xml, text/xml
Sample:
<GetBaseVoidResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<BaseObjects xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
<d2p1:BaseReasonModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:31:12.60892+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:31:12.60892+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:BusinessId>1</d2p1:BusinessId>
<d2p1:DateCreated>2026-03-20T14:31:12.60892+00:00</d2p1:DateCreated>
<d2p1:DateModified>2026-03-20T14:31:12.60892+00:00</d2p1:DateModified>
<d2p1:Description>sample string 1</d2p1:Description>
<d2p1:LinkedTo>sample string 2</d2p1:LinkedTo>
<d2p1:Sector>sample string 3</d2p1:Sector>
</d2p1:BaseReasonModel>
<d2p1:BaseReasonModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:31:12.60892+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:31:12.60892+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:BusinessId>1</d2p1:BusinessId>
<d2p1:DateCreated>2026-03-20T14:31:12.60892+00:00</d2p1:DateCreated>
<d2p1:DateModified>2026-03-20T14:31:12.60892+00:00</d2p1:DateModified>
<d2p1:Description>sample string 1</d2p1:Description>
<d2p1:LinkedTo>sample string 2</d2p1:LinkedTo>
<d2p1:Sector>sample string 3</d2p1:Sector>
</d2p1:BaseReasonModel>
</BaseObjects>
<Message>sample string 2</Message>
<Status>true</Status>
<Token>4f771bed-1b1b-4a21-baaa-3dea9d599993</Token>
</GetBaseVoidResponse>