POST api/Product/GetSyncCategories

Request Information

URI Parameters

None.

Body Parameters

GetBaseSyncRequest
NameDescriptionTypeAdditional information
listofsync

Collection of Storedata

None.

businessId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "listofsync": [
    {
      "TableName": "sample string 1",
      "LastSync": "2026-03-24T08:35:55.6004332+00:00"
    },
    {
      "TableName": "sample string 1",
      "LastSync": "2026-03-24T08:35:55.6004332+00:00"
    }
  ],
  "businessId": 1
}

application/xml, text/xml

Sample:
<GetBaseSyncRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <businessId>1</businessId>
  <listofsync>
    <Storedata>
      <LastSync>2026-03-24T08:35:55.6004332+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
    <Storedata>
      <LastSync>2026-03-24T08:35:55.6004332+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
  </listofsync>
</GetBaseSyncRequest>

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 'GetBaseSyncRequest'.

Response Information

Resource Description

GetBaseCategoriesResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Token

globally unique identifier

None.

BaseObjects

Collection of BaseCategoryModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Token": "36d5431b-cd38-48f1-8d1b-882bf1fd2839",
  "BaseObjects": [
    {
      "BusinessId": 1,
      "CategoryName": "sample string 1",
      "BackColor": "sample string 2",
      "ForeColor": "sample string 3",
      "SortOrder": 4,
      "TillNo": "sample string 5",
      "Active": true,
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-24T08:35:55.8973142+00:00",
      "LastUpdated": "2026-03-24T08:35:55.8973142+00:00",
      "Id": 1
    },
    {
      "BusinessId": 1,
      "CategoryName": "sample string 1",
      "BackColor": "sample string 2",
      "ForeColor": "sample string 3",
      "SortOrder": 4,
      "TillNo": "sample string 5",
      "Active": true,
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-24T08:35:55.8973142+00:00",
      "LastUpdated": "2026-03-24T08:35:55.8973142+00:00",
      "Id": 1
    }
  ]
}

application/xml, text/xml

Sample:
<GetBaseCategoriesResponse 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:BaseCategoryModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-24T08:35:55.8973142+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-24T08:35:55.8973142+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:BackColor>sample string 2</d2p1:BackColor>
      <d2p1:BusinessId>1</d2p1:BusinessId>
      <d2p1:CategoryName>sample string 1</d2p1:CategoryName>
      <d2p1:ForeColor>sample string 3</d2p1:ForeColor>
      <d2p1:SortOrder>4</d2p1:SortOrder>
      <d2p1:TillNo>sample string 5</d2p1:TillNo>
    </d2p1:BaseCategoryModel>
    <d2p1:BaseCategoryModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-24T08:35:55.8973142+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-24T08:35:55.8973142+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:BackColor>sample string 2</d2p1:BackColor>
      <d2p1:BusinessId>1</d2p1:BusinessId>
      <d2p1:CategoryName>sample string 1</d2p1:CategoryName>
      <d2p1:ForeColor>sample string 3</d2p1:ForeColor>
      <d2p1:SortOrder>4</d2p1:SortOrder>
      <d2p1:TillNo>sample string 5</d2p1:TillNo>
    </d2p1:BaseCategoryModel>
  </BaseObjects>
  <Message>sample string 2</Message>
  <Status>true</Status>
  <Token>36d5431b-cd38-48f1-8d1b-882bf1fd2839</Token>
</GetBaseCategoriesResponse>