GET api/PurchaseOrderItem/{id}?type={type}

Gets a list of purchase order item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Organization Id, Purchase Order Id

integer

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PurchaseOrderItem
NameDescriptionTypeAdditional information
PurchaseOrderItemId

integer

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

PurchaseOrderId

integer

None.

ItemId

integer

None.

ItemName

string

None.

ItemCode

string

None.

ItemSku

string

None.

Quantity

integer

None.

UnitPrice

decimal number

None.

ItemNote

string

None.

ItemTotal

decimal number

None.

GlobalId

string

None.

ProductGlobalId

string

None.

ProductName

string

None.

ProfilePhotoUrl

string

None.

ProfilePhotoUrlM

string

None.

ProfilePhotoUrlS

string

None.

OrganizationId

integer

None.

QuantityReceived

integer

None.

UnitPriceSell

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PurchaseOrderItemId": 1,
    "CreatedBy": "sample string 2",
    "CreatedDate": "2025-01-15T14:23:10.0417836+00:00",
    "UpdatedBy": "sample string 3",
    "UpdatedDate": "2025-01-15T14:23:10.0417836+00:00",
    "PurchaseOrderId": 1,
    "ItemId": 1,
    "ItemName": "sample string 4",
    "ItemCode": "sample string 5",
    "ItemSku": "sample string 6",
    "Quantity": 1,
    "UnitPrice": 1.0,
    "ItemNote": "sample string 7",
    "ItemTotal": 1.0,
    "GlobalId": "sample string 8",
    "ProductGlobalId": "sample string 9",
    "ProductName": "sample string 10",
    "ProfilePhotoUrl": "sample string 11",
    "ProfilePhotoUrlM": "sample string 12",
    "ProfilePhotoUrlS": "sample string 13",
    "OrganizationId": 1,
    "QuantityReceived": 1,
    "UnitPriceSell": 1.0
  },
  {
    "PurchaseOrderItemId": 1,
    "CreatedBy": "sample string 2",
    "CreatedDate": "2025-01-15T14:23:10.0417836+00:00",
    "UpdatedBy": "sample string 3",
    "UpdatedDate": "2025-01-15T14:23:10.0417836+00:00",
    "PurchaseOrderId": 1,
    "ItemId": 1,
    "ItemName": "sample string 4",
    "ItemCode": "sample string 5",
    "ItemSku": "sample string 6",
    "Quantity": 1,
    "UnitPrice": 1.0,
    "ItemNote": "sample string 7",
    "ItemTotal": 1.0,
    "GlobalId": "sample string 8",
    "ProductGlobalId": "sample string 9",
    "ProductName": "sample string 10",
    "ProfilePhotoUrl": "sample string 11",
    "ProfilePhotoUrlM": "sample string 12",
    "ProfilePhotoUrlS": "sample string 13",
    "OrganizationId": 1,
    "QuantityReceived": 1,
    "UnitPriceSell": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfPurchaseOrderItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <PurchaseOrderItem>
    <CreatedBy>sample string 2</CreatedBy>
    <CreatedDate>2025-01-15T14:23:10.0417836+00:00</CreatedDate>
    <GlobalId>sample string 8</GlobalId>
    <ItemCode>sample string 5</ItemCode>
    <ItemId>1</ItemId>
    <ItemName>sample string 4</ItemName>
    <ItemNote>sample string 7</ItemNote>
    <ItemSku>sample string 6</ItemSku>
    <ItemTotal>1</ItemTotal>
    <OrganizationId>1</OrganizationId>
    <ProductGlobalId>sample string 9</ProductGlobalId>
    <ProductName>sample string 10</ProductName>
    <ProfilePhotoUrl>sample string 11</ProfilePhotoUrl>
    <ProfilePhotoUrlM>sample string 12</ProfilePhotoUrlM>
    <ProfilePhotoUrlS>sample string 13</ProfilePhotoUrlS>
    <PurchaseOrderId>1</PurchaseOrderId>
    <PurchaseOrderItemId>1</PurchaseOrderItemId>
    <Quantity>1</Quantity>
    <QuantityReceived>1</QuantityReceived>
    <UnitPrice>1</UnitPrice>
    <UnitPriceSell>1</UnitPriceSell>
    <UpdatedBy>sample string 3</UpdatedBy>
    <UpdatedDate>2025-01-15T14:23:10.0417836+00:00</UpdatedDate>
  </PurchaseOrderItem>
  <PurchaseOrderItem>
    <CreatedBy>sample string 2</CreatedBy>
    <CreatedDate>2025-01-15T14:23:10.0417836+00:00</CreatedDate>
    <GlobalId>sample string 8</GlobalId>
    <ItemCode>sample string 5</ItemCode>
    <ItemId>1</ItemId>
    <ItemName>sample string 4</ItemName>
    <ItemNote>sample string 7</ItemNote>
    <ItemSku>sample string 6</ItemSku>
    <ItemTotal>1</ItemTotal>
    <OrganizationId>1</OrganizationId>
    <ProductGlobalId>sample string 9</ProductGlobalId>
    <ProductName>sample string 10</ProductName>
    <ProfilePhotoUrl>sample string 11</ProfilePhotoUrl>
    <ProfilePhotoUrlM>sample string 12</ProfilePhotoUrlM>
    <ProfilePhotoUrlS>sample string 13</ProfilePhotoUrlS>
    <PurchaseOrderId>1</PurchaseOrderId>
    <PurchaseOrderItemId>1</PurchaseOrderItemId>
    <Quantity>1</Quantity>
    <QuantityReceived>1</QuantityReceived>
    <UnitPrice>1</UnitPrice>
    <UnitPriceSell>1</UnitPriceSell>
    <UpdatedBy>sample string 3</UpdatedBy>
    <UpdatedDate>2025-01-15T14:23:10.0417836+00:00</UpdatedDate>
  </PurchaseOrderItem>
</ArrayOfPurchaseOrderItem>