POST api/Product/Update

Request Information

URI Parameters

None.

Body Parameters

BO_ProductReq
NameDescriptionTypeAdditional information
PageIndex

integer

None.

PageSize

integer

None.

UserID

integer

None.

WhereClause

string

None.

ObjDetails

BO_Product

None.

Request Formats

application/json, text/json

Sample:
{
  "PageIndex": 1,
  "PageSize": 2,
  "UserID": 3,
  "WhereClause": "sample string 4",
  "ObjDetails": {
    "ID": 1,
    "Name": "sample string 2",
    "CategoryID": 3,
    "WeightID": 4,
    "Category": "sample string 5",
    "Weight": "sample string 6",
    "OpType": 7,
    "IsActive": true,
    "CreatedBy": 9,
    "CreatedOn": "2025-12-08T17:20:55.786378+00:00",
    "ModifiedBy": 11,
    "ModifiedOn": "2025-12-08T17:20:55.786378+00:00"
  }
}

application/xml, text/xml

Sample:
<BO_ProductReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <ObjDetails>
    <Category>sample string 5</Category>
    <CategoryID>3</CategoryID>
    <CreatedBy>9</CreatedBy>
    <CreatedOn>2025-12-08T17:20:55.786378+00:00</CreatedOn>
    <ID>1</ID>
    <IsActive>true</IsActive>
    <ModifiedBy>11</ModifiedBy>
    <ModifiedOn>2025-12-08T17:20:55.786378+00:00</ModifiedOn>
    <Name>sample string 2</Name>
    <OpType>7</OpType>
    <Weight>sample string 6</Weight>
    <WeightID>4</WeightID>
  </ObjDetails>
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
  <UserID>3</UserID>
  <WhereClause>sample string 4</WhereClause>
</BO_ProductReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BO_ProductRes
NameDescriptionTypeAdditional information
UserID

integer

None.

UserCode

string

None.

SIndex

integer

None.

EIndex

integer

None.

CIndex

integer

None.

ReturnID

integer

None.

ReturnMsg

string

None.

ObjDetails

Collection of BO_Product

None.

Details

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserCode": "sample string 2",
  "SIndex": 3,
  "EIndex": 4,
  "CIndex": 5,
  "ReturnID": 6,
  "ReturnMsg": "sample string 7",
  "ObjDetails": [
    {
      "ID": 1,
      "Name": "sample string 2",
      "CategoryID": 3,
      "WeightID": 4,
      "Category": "sample string 5",
      "Weight": "sample string 6",
      "OpType": 7,
      "IsActive": true,
      "CreatedBy": 9,
      "CreatedOn": "2025-12-08T17:20:55.7964714+00:00",
      "ModifiedBy": 11,
      "ModifiedOn": "2025-12-08T17:20:55.7964714+00:00"
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "CategoryID": 3,
      "WeightID": 4,
      "Category": "sample string 5",
      "Weight": "sample string 6",
      "OpType": 7,
      "IsActive": true,
      "CreatedBy": 9,
      "CreatedOn": "2025-12-08T17:20:55.7964714+00:00",
      "ModifiedBy": 11,
      "ModifiedOn": "2025-12-08T17:20:55.7964714+00:00"
    }
  ],
  "Details": "sample string 8"
}

application/xml, text/xml

Sample:
<BO_ProductRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <CIndex>5</CIndex>
  <Details>sample string 8</Details>
  <EIndex>4</EIndex>
  <ObjDetails>
    <BO_Product>
      <Category>sample string 5</Category>
      <CategoryID>3</CategoryID>
      <CreatedBy>9</CreatedBy>
      <CreatedOn>2025-12-08T17:20:55.7964714+00:00</CreatedOn>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <ModifiedBy>11</ModifiedBy>
      <ModifiedOn>2025-12-08T17:20:55.7964714+00:00</ModifiedOn>
      <Name>sample string 2</Name>
      <OpType>7</OpType>
      <Weight>sample string 6</Weight>
      <WeightID>4</WeightID>
    </BO_Product>
    <BO_Product>
      <Category>sample string 5</Category>
      <CategoryID>3</CategoryID>
      <CreatedBy>9</CreatedBy>
      <CreatedOn>2025-12-08T17:20:55.7964714+00:00</CreatedOn>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <ModifiedBy>11</ModifiedBy>
      <ModifiedOn>2025-12-08T17:20:55.7964714+00:00</ModifiedOn>
      <Name>sample string 2</Name>
      <OpType>7</OpType>
      <Weight>sample string 6</Weight>
      <WeightID>4</WeightID>
    </BO_Product>
  </ObjDetails>
  <ReturnID>6</ReturnID>
  <ReturnMsg>sample string 7</ReturnMsg>
  <SIndex>3</SIndex>
  <UserCode>sample string 2</UserCode>
  <UserID>1</UserID>
</BO_ProductRes>