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

Gets a list of purchase list.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Organization Id.

integer

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PurchaseList
NameDescriptionTypeAdditional information
UpdateType

string

None.

PurchaseListId

integer

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

UpdatedByName

string

None.

ItemId

integer

None.

Quantity

integer

None.

GlobalId

string

None.

Name

string

None.

Code

string

None.

Sku

string

None.

PricePerUnitSale

decimal number

None.

PricePerUnitPurchase

decimal number

None.

ItemGlobalId

string

None.

InventoryCount

integer

None.

SupplierId

integer

None.

SupplierName

string

None.

ProfilePhotoUrl

string

None.

ProfilePhotoUrlM

string

None.

ProfilePhotoUrlS

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UpdateType": "sample string 1",
    "PurchaseListId": 2,
    "UpdatedDate": "2025-01-17T14:27:12.2657973+00:00",
    "UpdatedBy": "sample string 3",
    "UpdatedByName": "sample string 4",
    "ItemId": 1,
    "Quantity": 1,
    "GlobalId": "sample string 5",
    "Name": "sample string 6",
    "Code": "sample string 7",
    "Sku": "sample string 8",
    "PricePerUnitSale": 1.0,
    "PricePerUnitPurchase": 1.0,
    "ItemGlobalId": "sample string 9",
    "InventoryCount": 1,
    "SupplierId": 1,
    "SupplierName": "sample string 10",
    "ProfilePhotoUrl": "sample string 11",
    "ProfilePhotoUrlM": "sample string 12",
    "ProfilePhotoUrlS": "sample string 13"
  },
  {
    "UpdateType": "sample string 1",
    "PurchaseListId": 2,
    "UpdatedDate": "2025-01-17T14:27:12.2657973+00:00",
    "UpdatedBy": "sample string 3",
    "UpdatedByName": "sample string 4",
    "ItemId": 1,
    "Quantity": 1,
    "GlobalId": "sample string 5",
    "Name": "sample string 6",
    "Code": "sample string 7",
    "Sku": "sample string 8",
    "PricePerUnitSale": 1.0,
    "PricePerUnitPurchase": 1.0,
    "ItemGlobalId": "sample string 9",
    "InventoryCount": 1,
    "SupplierId": 1,
    "SupplierName": "sample string 10",
    "ProfilePhotoUrl": "sample string 11",
    "ProfilePhotoUrlM": "sample string 12",
    "ProfilePhotoUrlS": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPurchaseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <PurchaseList>
    <Code>sample string 7</Code>
    <GlobalId>sample string 5</GlobalId>
    <InventoryCount>1</InventoryCount>
    <ItemGlobalId>sample string 9</ItemGlobalId>
    <ItemId>1</ItemId>
    <Name>sample string 6</Name>
    <PricePerUnitPurchase>1</PricePerUnitPurchase>
    <PricePerUnitSale>1</PricePerUnitSale>
    <ProfilePhotoUrl>sample string 11</ProfilePhotoUrl>
    <ProfilePhotoUrlM>sample string 12</ProfilePhotoUrlM>
    <ProfilePhotoUrlS>sample string 13</ProfilePhotoUrlS>
    <PurchaseListId>2</PurchaseListId>
    <Quantity>1</Quantity>
    <Sku>sample string 8</Sku>
    <SupplierId>1</SupplierId>
    <SupplierName>sample string 10</SupplierName>
    <UpdateType>sample string 1</UpdateType>
    <UpdatedBy>sample string 3</UpdatedBy>
    <UpdatedByName>sample string 4</UpdatedByName>
    <UpdatedDate>2025-01-17T14:27:12.2657973+00:00</UpdatedDate>
  </PurchaseList>
  <PurchaseList>
    <Code>sample string 7</Code>
    <GlobalId>sample string 5</GlobalId>
    <InventoryCount>1</InventoryCount>
    <ItemGlobalId>sample string 9</ItemGlobalId>
    <ItemId>1</ItemId>
    <Name>sample string 6</Name>
    <PricePerUnitPurchase>1</PricePerUnitPurchase>
    <PricePerUnitSale>1</PricePerUnitSale>
    <ProfilePhotoUrl>sample string 11</ProfilePhotoUrl>
    <ProfilePhotoUrlM>sample string 12</ProfilePhotoUrlM>
    <ProfilePhotoUrlS>sample string 13</ProfilePhotoUrlS>
    <PurchaseListId>2</PurchaseListId>
    <Quantity>1</Quantity>
    <Sku>sample string 8</Sku>
    <SupplierId>1</SupplierId>
    <SupplierName>sample string 10</SupplierName>
    <UpdateType>sample string 1</UpdateType>
    <UpdatedBy>sample string 3</UpdatedBy>
    <UpdatedByName>sample string 4</UpdatedByName>
    <UpdatedDate>2025-01-17T14:27:12.2657973+00:00</UpdatedDate>
  </PurchaseList>
</ArrayOfPurchaseList>