POST api/Sale/GetOnlineOrderPackingSlipByID

Request Information

URI Parameters

None.

Body Parameters

RequestIDModel
NameDescriptionTypeAdditional information
ID

integer

Required

RequestedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "RequestedUserID": 1
}

application/xml, text/xml

Sample:
<RequestIDModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request">
  <RequestedUserID>1</RequestedUserID>
  <ID>1</ID>
</RequestIDModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetPackingSlipResponse
NameDescriptionTypeAdditional information
PackingSlip

PackingSlipModel

None.

ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PackingSlip": {
    "InvoiceNo": "sample string 1",
    "SaleID": "sample string 2",
    "CompanyName": "sample string 3",
    "CustomerName": "sample string 4",
    "CustomerID": 1,
    "DeliveredToCompanyName": "sample string 5",
    "DeliveredToName": "sample string 6",
    "DeliveredToID": 1,
    "ShippingMethod": "sample string 7",
    "PaymentType": "sample string 8",
    "ShippingAddress": "sample string 9",
    "InvoiceAddress": "sample string 10",
    "Country": "sample string 11",
    "City": "sample string 12",
    "Date": "2025-01-22T21:09:09.0910485-06:00",
    "ShippingCost": 1.0,
    "dTotalSaleValue": 1.0,
    "dTotalPaidValue": 1.0,
    "sRemarks": "sample string 13",
    "dTotalTaxValue": 1.0,
    "dTotalDiscountValue": 1.0,
    "IsPrinted": true,
    "PackingSlipDetails": [
      {
        "ProductVariantID": 1,
        "ArticalNumber": "sample string 2",
        "ProductName": "sample string 3",
        "Location": "sample string 4",
        "Quantity": 1,
        "dTotalValue": 1.0,
        "dTotalDiscount": 1.0,
        "dTotalUnitValue": 1.0,
        "BLabel": "sample string 5",
        "dTotalTaxValue": 1.0,
        "ProductQRCode": "sample string 6",
        "ProductImage": "sample string 7",
        "ManufacturerCode": "sample string 8",
        "TrackableProductsSaleDetails": [
          {
            "ID": 1,
            "ProductID": 1,
            "ProductVariantID": 1,
            "SaleDetailID": 1,
            "TrackableCode": "sample string 2",
            "IsReturned": true,
            "CreatedAt": "2025-01-22T21:09:09.0910485-06:00",
            "Product": "sample string 3",
            "ProductVariant": "sample string 4"
          },
          {
            "ID": 1,
            "ProductID": 1,
            "ProductVariantID": 1,
            "SaleDetailID": 1,
            "TrackableCode": "sample string 2",
            "IsReturned": true,
            "CreatedAt": "2025-01-22T21:09:09.0910485-06:00",
            "Product": "sample string 3",
            "ProductVariant": "sample string 4"
          }
        ]
      },
      {
        "ProductVariantID": 1,
        "ArticalNumber": "sample string 2",
        "ProductName": "sample string 3",
        "Location": "sample string 4",
        "Quantity": 1,
        "dTotalValue": 1.0,
        "dTotalDiscount": 1.0,
        "dTotalUnitValue": 1.0,
        "BLabel": "sample string 5",
        "dTotalTaxValue": 1.0,
        "ProductQRCode": "sample string 6",
        "ProductImage": "sample string 7",
        "ManufacturerCode": "sample string 8",
        "TrackableProductsSaleDetails": [
          {
            "ID": 1,
            "ProductID": 1,
            "ProductVariantID": 1,
            "SaleDetailID": 1,
            "TrackableCode": "sample string 2",
            "IsReturned": true,
            "CreatedAt": "2025-01-22T21:09:09.0910485-06:00",
            "Product": "sample string 3",
            "ProductVariant": "sample string 4"
          },
          {
            "ID": 1,
            "ProductID": 1,
            "ProductVariantID": 1,
            "SaleDetailID": 1,
            "TrackableCode": "sample string 2",
            "IsReturned": true,
            "CreatedAt": "2025-01-22T21:09:09.0910485-06:00",
            "Product": "sample string 3",
            "ProductVariant": "sample string 4"
          }
        ]
      }
    ]
  },
  "ResponseCode": 1,
  "ResponseText": "sample string 2"
}

application/xml, text/xml

Sample:
<GetPackingSlipResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response">
  <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode>
  <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText>
  <PackingSlip>
    <City>sample string 12</City>
    <CompanyName>sample string 3</CompanyName>
    <Country>sample string 11</Country>
    <CustomerID>1</CustomerID>
    <CustomerName>sample string 4</CustomerName>
    <Date>2025-01-22T21:09:09.0910485-06:00</Date>
    <DeliveredToCompanyName>sample string 5</DeliveredToCompanyName>
    <DeliveredToID>1</DeliveredToID>
    <DeliveredToName>sample string 6</DeliveredToName>
    <InvoiceAddress>sample string 10</InvoiceAddress>
    <InvoiceNo>sample string 1</InvoiceNo>
    <IsPrinted>true</IsPrinted>
    <PackingSlipDetails>
      <PackingSlipDetailModel>
        <ArticalNumber>sample string 2</ArticalNumber>
        <BLabel>sample string 5</BLabel>
        <Location>sample string 4</Location>
        <ManufacturerCode>sample string 8</ManufacturerCode>
        <ProductImage>sample string 7</ProductImage>
        <ProductName>sample string 3</ProductName>
        <ProductQRCode>sample string 6</ProductQRCode>
        <ProductVariantID>1</ProductVariantID>
        <Quantity>1</Quantity>
        <TrackableProductsSaleDetails xmlns:d5p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
          <d5p1:TrackableProductsSaleDetailModel>
            <d5p1:CreatedAt>2025-01-22T21:09:09.0910485-06:00</d5p1:CreatedAt>
            <d5p1:ID>1</d5p1:ID>
            <d5p1:IsReturned>true</d5p1:IsReturned>
            <d5p1:Product>sample string 3</d5p1:Product>
            <d5p1:ProductID>1</d5p1:ProductID>
            <d5p1:ProductVariant>sample string 4</d5p1:ProductVariant>
            <d5p1:ProductVariantID>1</d5p1:ProductVariantID>
            <d5p1:SaleDetailID>1</d5p1:SaleDetailID>
            <d5p1:TrackableCode>sample string 2</d5p1:TrackableCode>
          </d5p1:TrackableProductsSaleDetailModel>
          <d5p1:TrackableProductsSaleDetailModel>
            <d5p1:CreatedAt>2025-01-22T21:09:09.0910485-06:00</d5p1:CreatedAt>
            <d5p1:ID>1</d5p1:ID>
            <d5p1:IsReturned>true</d5p1:IsReturned>
            <d5p1:Product>sample string 3</d5p1:Product>
            <d5p1:ProductID>1</d5p1:ProductID>
            <d5p1:ProductVariant>sample string 4</d5p1:ProductVariant>
            <d5p1:ProductVariantID>1</d5p1:ProductVariantID>
            <d5p1:SaleDetailID>1</d5p1:SaleDetailID>
            <d5p1:TrackableCode>sample string 2</d5p1:TrackableCode>
          </d5p1:TrackableProductsSaleDetailModel>
        </TrackableProductsSaleDetails>
        <dTotalDiscount>1</dTotalDiscount>
        <dTotalTaxValue>1</dTotalTaxValue>
        <dTotalUnitValue>1</dTotalUnitValue>
        <dTotalValue>1</dTotalValue>
      </PackingSlipDetailModel>
      <PackingSlipDetailModel>
        <ArticalNumber>sample string 2</ArticalNumber>
        <BLabel>sample string 5</BLabel>
        <Location>sample string 4</Location>
        <ManufacturerCode>sample string 8</ManufacturerCode>
        <ProductImage>sample string 7</ProductImage>
        <ProductName>sample string 3</ProductName>
        <ProductQRCode>sample string 6</ProductQRCode>
        <ProductVariantID>1</ProductVariantID>
        <Quantity>1</Quantity>
        <TrackableProductsSaleDetails xmlns:d5p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
          <d5p1:TrackableProductsSaleDetailModel>
            <d5p1:CreatedAt>2025-01-22T21:09:09.0910485-06:00</d5p1:CreatedAt>
            <d5p1:ID>1</d5p1:ID>
            <d5p1:IsReturned>true</d5p1:IsReturned>
            <d5p1:Product>sample string 3</d5p1:Product>
            <d5p1:ProductID>1</d5p1:ProductID>
            <d5p1:ProductVariant>sample string 4</d5p1:ProductVariant>
            <d5p1:ProductVariantID>1</d5p1:ProductVariantID>
            <d5p1:SaleDetailID>1</d5p1:SaleDetailID>
            <d5p1:TrackableCode>sample string 2</d5p1:TrackableCode>
          </d5p1:TrackableProductsSaleDetailModel>
          <d5p1:TrackableProductsSaleDetailModel>
            <d5p1:CreatedAt>2025-01-22T21:09:09.0910485-06:00</d5p1:CreatedAt>
            <d5p1:ID>1</d5p1:ID>
            <d5p1:IsReturned>true</d5p1:IsReturned>
            <d5p1:Product>sample string 3</d5p1:Product>
            <d5p1:ProductID>1</d5p1:ProductID>
            <d5p1:ProductVariant>sample string 4</d5p1:ProductVariant>
            <d5p1:ProductVariantID>1</d5p1:ProductVariantID>
            <d5p1:SaleDetailID>1</d5p1:SaleDetailID>
            <d5p1:TrackableCode>sample string 2</d5p1:TrackableCode>
          </d5p1:TrackableProductsSaleDetailModel>
        </TrackableProductsSaleDetails>
        <dTotalDiscount>1</dTotalDiscount>
        <dTotalTaxValue>1</dTotalTaxValue>
        <dTotalUnitValue>1</dTotalUnitValue>
        <dTotalValue>1</dTotalValue>
      </PackingSlipDetailModel>
    </PackingSlipDetails>
    <PaymentType>sample string 8</PaymentType>
    <SaleID>sample string 2</SaleID>
    <ShippingAddress>sample string 9</ShippingAddress>
    <ShippingCost>1</ShippingCost>
    <ShippingMethod>sample string 7</ShippingMethod>
    <dTotalDiscountValue>1</dTotalDiscountValue>
    <dTotalPaidValue>1</dTotalPaidValue>
    <dTotalSaleValue>1</dTotalSaleValue>
    <dTotalTaxValue>1</dTotalTaxValue>
    <sRemarks>sample string 13</sRemarks>
  </PackingSlip>
</GetPackingSlipResponse>