POST api/Business/GetSyncOrderTypecharges
Request Information
URI Parameters
None.
Body Parameters
GetOrdertypechargeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessAdressIds | Collection of integer |
None. |
|
| listofsync | Collection of Storedata |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BusinessAdressIds": [
1,
1
],
"listofsync": [
{
"TableName": "sample string 1",
"LastSync": "2026-03-20T14:28:37.2430966+00:00"
},
{
"TableName": "sample string 1",
"LastSync": "2026-03-20T14:28:37.2430966+00:00"
}
],
"Id": 1
}
application/xml, text/xml
Sample:
<GetOrdertypechargeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<Id>1</Id>
<BusinessAdressIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:long>1</d2p1:long>
<d2p1:long>1</d2p1:long>
</BusinessAdressIds>
<listofsync>
<Storedata>
<LastSync>2026-03-20T14:28:37.2430966+00:00</LastSync>
<TableName>sample string 1</TableName>
</Storedata>
<Storedata>
<LastSync>2026-03-20T14:28:37.2430966+00:00</LastSync>
<TableName>sample string 1</TableName>
</Storedata>
</listofsync>
</GetOrdertypechargeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetOrdertypechargeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Token | globally unique identifier |
None. |
|
| BaseObjects | Collection of BaseBusinessOrderTypechargeModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Token": "4d8d0c66-167d-43bd-9ab9-f959d130fd09",
"BaseObjects": [
{
"BusinessAddressID": 1,
"ServiceCharge": 1.0,
"OrderTypeID": 2,
"CreatedDate": "2026-03-20T14:28:37.2430966+00:00",
"LastUpdated": "2026-03-20T14:28:37.2430966+00:00",
"Id": 1
},
{
"BusinessAddressID": 1,
"ServiceCharge": 1.0,
"OrderTypeID": 2,
"CreatedDate": "2026-03-20T14:28:37.2430966+00:00",
"LastUpdated": "2026-03-20T14:28:37.2430966+00:00",
"Id": 1
}
]
}
application/xml, text/xml
Sample:
<GetOrdertypechargeResponse 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:BaseBusinessOrderTypechargeModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:BusinessAddressID>1</d2p1:BusinessAddressID>
<d2p1:CreatedDate>2026-03-20T14:28:37.2430966+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:28:37.2430966+00:00</d2p1:LastUpdated>
<d2p1:OrderTypeID>2</d2p1:OrderTypeID>
<d2p1:ServiceCharge>1</d2p1:ServiceCharge>
</d2p1:BaseBusinessOrderTypechargeModel>
<d2p1:BaseBusinessOrderTypechargeModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:BusinessAddressID>1</d2p1:BusinessAddressID>
<d2p1:CreatedDate>2026-03-20T14:28:37.2430966+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:28:37.2430966+00:00</d2p1:LastUpdated>
<d2p1:OrderTypeID>2</d2p1:OrderTypeID>
<d2p1:ServiceCharge>1</d2p1:ServiceCharge>
</d2p1:BaseBusinessOrderTypechargeModel>
</BaseObjects>
<Message>sample string 2</Message>
<Status>true</Status>
<Token>4d8d0c66-167d-43bd-9ab9-f959d130fd09</Token>
</GetOrdertypechargeResponse>