POST api/ProductBatchesList

Request Information

URI Parameters

None.

Body Parameters

Collection of ProductBatchModel
NameDescriptionTypeAdditional information
Key

string

None.

ExternalKey

string

None.

StockQuantity

decimal number

None.

ExpiryDate

date

None.

PharmacyKey

string

None.

ProductKey

string

None.

SellingPrice

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Key": "sample string 1",
    "ExternalKey": "sample string 2",
    "StockQuantity": 3.1,
    "ExpiryDate": "2025-01-09T07:53:14.0165997+02:00",
    "PharmacyKey": "sample string 5",
    "ProductKey": "sample string 6",
    "SellingPrice": 7.1
  },
  {
    "Key": "sample string 1",
    "ExternalKey": "sample string 2",
    "StockQuantity": 3.1,
    "ExpiryDate": "2025-01-09T07:53:14.0165997+02:00",
    "PharmacyKey": "sample string 5",
    "ProductKey": "sample string 6",
    "SellingPrice": 7.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductBatchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Salesforce.Gateway.Model">
  <ProductBatchModel>
    <ExpiryDate>2025-01-09T07:53:14.0165997+02:00</ExpiryDate>
    <ExternalKey>sample string 2</ExternalKey>
    <Key>sample string 1</Key>
    <PharmacyKey>sample string 5</PharmacyKey>
    <ProductKey>sample string 6</ProductKey>
    <SellingPrice>7.1</SellingPrice>
    <StockQuantity>3.1</StockQuantity>
  </ProductBatchModel>
  <ProductBatchModel>
    <ExpiryDate>2025-01-09T07:53:14.0165997+02:00</ExpiryDate>
    <ExternalKey>sample string 2</ExternalKey>
    <Key>sample string 1</Key>
    <PharmacyKey>sample string 5</PharmacyKey>
    <ProductKey>sample string 6</ProductKey>
    <SellingPrice>7.1</SellingPrice>
    <StockQuantity>3.1</StockQuantity>
  </ProductBatchModel>
</ArrayOfProductBatchModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.