POST api/CareSheet/SubmitShoppingCart

Request Information

URI Parameters

None.

Body Parameters

SubmitShoppingCartkRequest
NameDescriptionTypeAdditional information
SubscriptionID

string

None.

PrintOnlyCaresheets

boolean

None.

SendPerMail

boolean

None.

ShoppingCart

Collection of PetScanItem

None.

MailAdress

string

None.

Header

string

None.

AdditionalText

string

None.

PageFormat

string

None.

UseLogo

boolean

None.

SendAsMail

boolean

None.

FooterLine1

string

None.

FooterLine2

string

None.

FooterLine3

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriptionID": "sample string 1",
  "PrintOnlyCaresheets": true,
  "SendPerMail": true,
  "ShoppingCart": [
    {
      "Barcode": "sample string 1",
      "IsValidScan": true,
      "PrintCaresheet": true,
      "Line2": "sample string 4",
      "Line1": "sample string 5",
      "PLUCode": "sample string 6",
      "Price": "sample string 7",
      "Quantity": "sample string 8",
      "Id": "sample string 9",
      "ArticleMappingEntryID": "sample string 10"
    },
    {
      "Barcode": "sample string 1",
      "IsValidScan": true,
      "PrintCaresheet": true,
      "Line2": "sample string 4",
      "Line1": "sample string 5",
      "PLUCode": "sample string 6",
      "Price": "sample string 7",
      "Quantity": "sample string 8",
      "Id": "sample string 9",
      "ArticleMappingEntryID": "sample string 10"
    }
  ],
  "MailAdress": "sample string 4",
  "Header": "sample string 5",
  "AdditionalText": "sample string 6",
  "PageFormat": "sample string 7",
  "UseLogo": true,
  "SendAsMail": true,
  "FooterLine1": "sample string 10",
  "FooterLine2": "sample string 11",
  "FooterLine3": "sample string 12"
}

application/xml, text/xml

Sample:
<CareSheetController.SubmitShoppingCartkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetdataNG.Controllers">
  <AdditionalText>sample string 6</AdditionalText>
  <FooterLine1>sample string 10</FooterLine1>
  <FooterLine2>sample string 11</FooterLine2>
  <FooterLine3>sample string 12</FooterLine3>
  <Header>sample string 5</Header>
  <MailAdress>sample string 4</MailAdress>
  <PageFormat>sample string 7</PageFormat>
  <PrintOnlyCaresheets>true</PrintOnlyCaresheets>
  <SendAsMail>true</SendAsMail>
  <SendPerMail>true</SendPerMail>
  <ShoppingCart>
    <CareSheetController.PetScanItem>
      <ArticleMappingEntryID>sample string 10</ArticleMappingEntryID>
      <Barcode>sample string 1</Barcode>
      <Id>sample string 9</Id>
      <IsValidScan>true</IsValidScan>
      <Line1>sample string 5</Line1>
      <Line2>sample string 4</Line2>
      <PLUCode>sample string 6</PLUCode>
      <Price>sample string 7</Price>
      <PrintCaresheet>true</PrintCaresheet>
      <Quantity>sample string 8</Quantity>
    </CareSheetController.PetScanItem>
    <CareSheetController.PetScanItem>
      <ArticleMappingEntryID>sample string 10</ArticleMappingEntryID>
      <Barcode>sample string 1</Barcode>
      <Id>sample string 9</Id>
      <IsValidScan>true</IsValidScan>
      <Line1>sample string 5</Line1>
      <Line2>sample string 4</Line2>
      <PLUCode>sample string 6</PLUCode>
      <Price>sample string 7</Price>
      <PrintCaresheet>true</PrintCaresheet>
      <Quantity>sample string 8</Quantity>
    </CareSheetController.PetScanItem>
  </ShoppingCart>
  <SubscriptionID>sample string 1</SubscriptionID>
  <UseLogo>true</UseLogo>
</CareSheetController.SubmitShoppingCartkRequest>

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.