POST api/Product/GetProductExtrasync
Request Information
URI Parameters
None.
Body Parameters
GetBaseProductExtraRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductIds | Collection of integer |
None. |
|
| Name | string |
None. |
|
| ProductId | integer |
None. |
|
| listofsync | Collection of Storedata |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductIds": [
1,
1
],
"Name": "sample string 1",
"ProductId": 1,
"listofsync": [
{
"TableName": "sample string 1",
"LastSync": "2026-03-20T14:27:03.845108+00:00"
},
{
"TableName": "sample string 1",
"LastSync": "2026-03-20T14:27:03.845108+00:00"
}
],
"Id": 1
}
application/xml, text/xml
Sample:
<GetBaseProductExtraRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<Id>1</Id>
<Name>sample string 1</Name>
<ProductId>1</ProductId>
<ProductIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:long>1</d2p1:long>
<d2p1:long>1</d2p1:long>
</ProductIds>
<listofsync>
<Storedata>
<LastSync>2026-03-20T14:27:03.845108+00:00</LastSync>
<TableName>sample string 1</TableName>
</Storedata>
<Storedata>
<LastSync>2026-03-20T14:27:03.845108+00:00</LastSync>
<TableName>sample string 1</TableName>
</Storedata>
</listofsync>
</GetBaseProductExtraRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetBaseProductExtraResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Token | globally unique identifier |
None. |
|
| BaseObjects | Collection of BaseProductExtraModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Token": "0295bb57-09c2-473c-8056-fd2d0acf0ac5",
"BaseObjects": [
{
"ProductId": 1,
"Name": "sample string 1",
"CostPrice": 1.0,
"EatInSalesPrice": 1.0,
"EatInSalesVAT": 1.1,
"EatOutSalesPrice": 1.0,
"EatOutSalesVAT": 1.1,
"IsDeleted": true,
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:27:03.9232354+00:00",
"LastUpdated": "2026-03-20T14:27:03.9232354+00:00",
"Id": 1
},
{
"ProductId": 1,
"Name": "sample string 1",
"CostPrice": 1.0,
"EatInSalesPrice": 1.0,
"EatInSalesVAT": 1.1,
"EatOutSalesPrice": 1.0,
"EatOutSalesVAT": 1.1,
"IsDeleted": true,
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:27:03.9232354+00:00",
"LastUpdated": "2026-03-20T14:27:03.9232354+00:00",
"Id": 1
}
]
}
application/xml, text/xml
Sample:
<GetBaseProductExtraResponse 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:BaseProductExtraModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:27:03.9232354+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:27:03.9232354+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:CostPrice>1</d2p1:CostPrice>
<d2p1:EatInSalesPrice>1</d2p1:EatInSalesPrice>
<d2p1:EatInSalesVAT>1.1</d2p1:EatInSalesVAT>
<d2p1:EatOutSalesPrice>1</d2p1:EatOutSalesPrice>
<d2p1:EatOutSalesVAT>1.1</d2p1:EatOutSalesVAT>
<d2p1:IsDeleted>true</d2p1:IsDeleted>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:ProductId>1</d2p1:ProductId>
</d2p1:BaseProductExtraModel>
<d2p1:BaseProductExtraModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:27:03.9232354+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:27:03.9232354+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:CostPrice>1</d2p1:CostPrice>
<d2p1:EatInSalesPrice>1</d2p1:EatInSalesPrice>
<d2p1:EatInSalesVAT>1.1</d2p1:EatInSalesVAT>
<d2p1:EatOutSalesPrice>1</d2p1:EatOutSalesPrice>
<d2p1:EatOutSalesVAT>1.1</d2p1:EatOutSalesVAT>
<d2p1:IsDeleted>true</d2p1:IsDeleted>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:ProductId>1</d2p1:ProductId>
</d2p1:BaseProductExtraModel>
</BaseObjects>
<Message>sample string 2</Message>
<Status>true</Status>
<Token>0295bb57-09c2-473c-8056-fd2d0acf0ac5</Token>
</GetBaseProductExtraResponse>