Purchase Order View Data

Get Purchase Order View Data by ID

GET /api/.../purchaseorders/{id}

Returns purchase order view Data by id.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the purchase order.

Response Information

Example
application/json, text/json
 {
  "PurchaseOrderID": 2413,
  "CreatorID": 239,
  "ModifierID": 347,
  "SupplierID": 410,
  "OrganizationID": 29,
  "BackorderInstrID": null,
  "BindingSubInstrID": null,
  "EDIFileName": null,
  "EDIFileCreateDateTime": null,
  "CatServChargeBase": 0,
  "CatServInstrID": null,
  "ClmWtPer1": null,
  "ClmWtPer2": null,
  "ClmWtPer3": null,
  "ClmWtPer4": null,
  "ClmWtPer5": null,
  "DelBillInstr": null,
  "DiscRate": 0,
  "InstrSupp": null,
  "InvDeliveryMethID": null,
  "InvCopies": null,
  "InvSequencingID": null,
  "IsTemplate": false,
  "CreationDate": "2006-10-16T15:10:25.1-04:00",
  "ModificationDate": "2006-10-23T10:16:02.037-04:00",
  "MaxClaims": null,
  "MembershipRenewalDate": null,
  "PONote": null,
  "OrderCancelInstr": null,
  "OrderTypeID": 3,
  "OtherChargeBase": 0,
  "PaymentMethodID": 8,
  "PlanName": null,
  "POAddChrgsSubtotBase": 0,
  "POAuthorization": null,
  "POConfirmDate": null,
  "POGrndTotBase": 499.99,
  "POMaterSubtotBase": 499.99,
  "PONumber": "GLC415",
  "PONumberSuf": null,
  "ReleaseDate": "2006-10-16T15:16:42-04:00",
  "RentalReturnDate": null,
  "SalesTax1Base": 0,
  "SalesTaxRate1": 0,
  "ServChargeBase": 0,
  "ShipChargeBase": 0,
  "ShipDate": null,
  "ShippingMethodID": null,
  "SpecialHandChargeBase": 0,
  "TemplateName": null,
  "Prepaid": 0,
  "OrderStatusID": 2,
  "StatusDate": "2014-05-21T14:42:24.22-04:00",
  "ClmNoticeInd": false,
  "CanNoticeInd": false,
  "AutoCancelInd": false,
  "CanWtPer": null,
  "Lines": 1,
  "WebCheckEnabled": 0,
  "ExchangeRate": 1,
  "ExternalID": null,
  "Encumbered": 0,
  "OriginalPONumber": null,
  "OriginalPONumberSuf": null,
  "CreatorName": "emangine",
  "ModifierName": "ldemayo",
  "OrderStatus": "Closed",
  "Supplier": {
    "SupplierID": 410,
    "CreationDate": "2005-05-16T15:03:37.88-04:00",
    "CreatorID": 1,
    "DataFormatsAccepted": null,
    "DefJobber": null,
    "ElecCommFlag": false,
    "EncLimPerItem": 0,
    "EncLimPerOrder": 0,
    "EncLimTotEnc": 0,
    "ExchangePartner": false,
    "ExpLimPerItem": 0,
    "ExpLimPerOrder": 0,
    "ExpLimTotExp": 0,
    "LBAcctNumber": null,
    "ModifierID": 347,
    "RecordName": "SHARPE",
    "Rounding": null,
    "SupplierName": "M.E. SHARPE, INC.",
    "SupplierSAN": "0",
    "SupplierSANSuf": null,
    "SupplierSANPre": null,
    "TotCurrEnc": 0,
    "TotExp": 0,
    "OrganizationID": 101,
    "Note": null,
    "LastTransaction": "2012-11-28T10:27:28.417-05:00",
    "DiscRate": 0,
    "PlanNote": null,
    "MaxClaims": null,
    "ClmWtPer1": null,
    "ClmWtPer2": null,
    "ClmWtPer3": null,
    "ClmWtPer4": null,
    "ClmWtPer5": null,
    "ClmNoticeInd": false,
    "CanNoticeInd": false,
    "AutoCancelInd": false,
    "CanWtPer": null,
    "DeliveryOptionId": null,
    "CurrencyID": 1,
    "ExternalID": null,
    "ClaimCPID": 1935,
    "ClaimCP": null,
    "ClaimAddrID": 431485,
    "ClaimAddress": null,
    "OrderingCPID": 1676,
    "OrderingCP": null,
    "OrderingAddrID": 430781,
    "OrderingAddress": null,
    "PaymentCPID": 1934,
    "PaymentCP": null,
    "PaymentAddrID": 431017,
    "PaymentAddress": null,
    "Creator": null,
    "Modifier": {
      "$id": "1"
    },
    "ElectronicCommunications": null
  },
 
  "HeaderCharges": [
    {
      "Amount": 1,
      "ChargeType": 2,
      "ChargeTypeName": "Special handling",
      "FundID": 1815,
      "FundName": ".md fund1",
      "FiscalYearName": "md fy 4",
      "PurchaseOrderID": 2413,
      "PurchaseOrderOrgID": 101
    },
    {
      "Amount": 2,
      "ChargeType": 4,
      "ChargeTypeName": "Shipping",
      "FundID": 3298,
      "FundName": "000 Fund",
      "FiscalYearName": "000-1a",
      "PurchaseOrderID": 2413,
      "PurchaseOrderOrgID": 101
    }
  ], 
  "POLineItems": [
    {
      "POLineItemID": 76882,
      "PurchaseOrderID": 2413,
      "LineNumber": 1,
      "NormalIsbnIssn": "0765680653 :",
      "Amount": 499.99,
      "Alert": false,
      "QtyOrd": 1,
      "QtyRec": 1,
      "QtyInv": 1,
      "Title": "Colonial America : an encyclopedia of social, political, cultural, and economic history",
      "Author": null,
      "BibRecID": 678418,
      "Status": "Received",
      "StatusID": 13,
      "FundName": "CBA",
      "IsClosable": 1,
      "SortTitle": "Colonial America : an encyclopedia of social, political, cultural, and economic history"
    }
  ]
}

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Invalid purchase order ID