POST api/Product/GetSyncProducts

Request Information

URI Parameters

None.

Body Parameters

GetBaseProductSyncRequest
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:47:46.584803+00:00"
    },
    {
      "TableName": "sample string 1",
      "LastSync": "2026-03-24T08:47:46.584803+00:00"
    }
  ],
  "businessId": 1
}

application/xml, text/xml

Sample:
<GetBaseProductSyncRequest 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:47:46.584803+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
    <Storedata>
      <LastSync>2026-03-24T08:47:46.584803+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
  </listofsync>
</GetBaseProductSyncRequest>

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

Response Information

Resource Description

GetBaseProductResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Token

globally unique identifier

None.

BaseObjects

Collection of BaseProductModel

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'TAG.DataModels.ProductOptionsModel'. Path 'BaseObjects[0].Options[0].SubProductOptions'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'TAG.DataModels.ProductOptionsModel'. Path 'BaseObjects[0].Options[0].SubProductOptions'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[TAG.DataModels.ProductOptionsModel, TAG.DataModels, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[TAG.DataModels.ProductOptionsModel, TAG.DataModels, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.