POST api/PurchaseOrders

Request Information

URI Parameters

None.

Body Parameters

PurchaseOrder
NameDescriptionTypeAdditional information
PurchaseOrderId

integer

None.

OrdProductId

integer

None.

Quantity

integer

None.

TotalInwardStock

integer

None.

TotalInwardRawStock

integer

None.

TotalInwardTitle

integer

None.

Page

integer

None.

Bandho

integer

None.

BookBinderId

integer

None.

BookPressId

integer

None.

PlateSize

string

None.

Farma

integer

None.

Status

integer

None.

ApproveBy

integer

None.

ApproveDate

date

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PurchaseOrderId": 1,
  "OrdProductId": 2,
  "Quantity": 3,
  "TotalInwardStock": 1,
  "TotalInwardRawStock": 1,
  "TotalInwardTitle": 1,
  "Page": 1,
  "Bandho": 1,
  "BookBinderId": 1,
  "BookPressId": 1,
  "PlateSize": "sample string 4",
  "Farma": 1,
  "Status": 1,
  "ApproveBy": 1,
  "ApproveDate": "2024-11-05T09:05:43.4512717+05:30",
  "CreatedBy": 1,
  "CreatedDate": "2024-11-05T09:05:43.4512717+05:30",
  "UpdatedBy": 1,
  "UpdatedDate": "2024-11-05T09:05:43.4512717+05:30",
  "IsActive": true
}

application/xml, text/xml

Sample:
<PurchaseOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Models">
  <ApproveBy>1</ApproveBy>
  <ApproveDate>2024-11-05T09:05:43.4512717+05:30</ApproveDate>
  <Bandho>1</Bandho>
  <BookBinderId>1</BookBinderId>
  <BookPressId>1</BookPressId>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2024-11-05T09:05:43.4512717+05:30</CreatedDate>
  <Farma>1</Farma>
  <IsActive>true</IsActive>
  <OrdProductId>2</OrdProductId>
  <Page>1</Page>
  <PlateSize>sample string 4</PlateSize>
  <PurchaseOrderId>1</PurchaseOrderId>
  <Quantity>3</Quantity>
  <Status>1</Status>
  <TotalInwardRawStock>1</TotalInwardRawStock>
  <TotalInwardStock>1</TotalInwardStock>
  <TotalInwardTitle>1</TotalInwardTitle>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2024-11-05T09:05:43.4512717+05:30</UpdatedDate>
</PurchaseOrder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PurchaseOrder
NameDescriptionTypeAdditional information
PurchaseOrderId

integer

None.

OrdProductId

integer

None.

Quantity

integer

None.

TotalInwardStock

integer

None.

TotalInwardRawStock

integer

None.

TotalInwardTitle

integer

None.

Page

integer

None.

Bandho

integer

None.

BookBinderId

integer

None.

BookPressId

integer

None.

PlateSize

string

None.

Farma

integer

None.

Status

integer

None.

ApproveBy

integer

None.

ApproveDate

date

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

IsActive

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "PurchaseOrderId": 1,
  "OrdProductId": 2,
  "Quantity": 3,
  "TotalInwardStock": 1,
  "TotalInwardRawStock": 1,
  "TotalInwardTitle": 1,
  "Page": 1,
  "Bandho": 1,
  "BookBinderId": 1,
  "BookPressId": 1,
  "PlateSize": "sample string 4",
  "Farma": 1,
  "Status": 1,
  "ApproveBy": 1,
  "ApproveDate": "2024-11-05T09:05:43.7269608+05:30",
  "CreatedBy": 1,
  "CreatedDate": "2024-11-05T09:05:43.7269608+05:30",
  "UpdatedBy": 1,
  "UpdatedDate": "2024-11-05T09:05:43.7269608+05:30",
  "IsActive": true
}

application/xml, text/xml

Sample:
<PurchaseOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Models">
  <ApproveBy>1</ApproveBy>
  <ApproveDate>2024-11-05T09:05:43.7269608+05:30</ApproveDate>
  <Bandho>1</Bandho>
  <BookBinderId>1</BookBinderId>
  <BookPressId>1</BookPressId>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2024-11-05T09:05:43.7269608+05:30</CreatedDate>
  <Farma>1</Farma>
  <IsActive>true</IsActive>
  <OrdProductId>2</OrdProductId>
  <Page>1</Page>
  <PlateSize>sample string 4</PlateSize>
  <PurchaseOrderId>1</PurchaseOrderId>
  <Quantity>3</Quantity>
  <Status>1</Status>
  <TotalInwardRawStock>1</TotalInwardRawStock>
  <TotalInwardStock>1</TotalInwardStock>
  <TotalInwardTitle>1</TotalInwardTitle>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2024-11-05T09:05:43.7269608+05:30</UpdatedDate>
</PurchaseOrder>