POST api/Business/GetOrderTypecharges

Request Information

URI Parameters

None.

Body Parameters

GetOrdertypechargeRequest
NameDescriptionTypeAdditional 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:27:55.7321137+00:00"
    },
    {
      "TableName": "sample string 1",
      "LastSync": "2026-03-20T14:27:55.7321137+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:27:55.7321137+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
    <Storedata>
      <LastSync>2026-03-20T14:27:55.7321137+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
  </listofsync>
</GetOrdertypechargeRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetOrdertypechargeRequest'.

Response Information

Resource Description

GetOrdertypechargeResponse
NameDescriptionTypeAdditional 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": "ef61ea69-3270-4895-8033-77d247d6ef75",
  "BaseObjects": [
    {
      "BusinessAddressID": 1,
      "ServiceCharge": 1.0,
      "OrderTypeID": 2,
      "CreatedDate": "2026-03-20T14:27:55.7321137+00:00",
      "LastUpdated": "2026-03-20T14:27:55.7321137+00:00",
      "Id": 1
    },
    {
      "BusinessAddressID": 1,
      "ServiceCharge": 1.0,
      "OrderTypeID": 2,
      "CreatedDate": "2026-03-20T14:27:55.7321137+00:00",
      "LastUpdated": "2026-03-20T14:27:55.7321137+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:27:55.7321137+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-20T14:27:55.7321137+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:27:55.7321137+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-20T14:27:55.7321137+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>ef61ea69-3270-4895-8033-77d247d6ef75</Token>
</GetOrdertypechargeResponse>