POST api/v1/PrintSummary

Request Information

URI Parameters

None.

Body Parameters

PrintSummaryInput
NameDescriptionTypeAdditional information
StDate

date

None.

Endate

date

None.

fk_CompID

integer

None.

fk_LocID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StDate": "2025-12-15T02:55:57.2084634+05:30",
  "Endate": "2025-12-15T02:55:57.2084634+05:30",
  "fk_CompID": 3,
  "fk_LocID": 4
}

application/xml, text/xml

Sample:
<PrintSummaryInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Endate>2025-12-15T02:55:57.2084634+05:30</Endate>
  <StDate>2025-12-15T02:55:57.2084634+05:30</StDate>
  <fk_CompID>3</fk_CompID>
  <fk_LocID>4</fk_LocID>
</PrintSummaryInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PrintSummaryInput'.

Response Information

Resource Description

PrintItemSummaryModel
NameDescriptionTypeAdditional information
ItemSummary

Collection of PrintSummaryModel

None.

CollectionDetails

Collection of PrintCollectionModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ItemSummary": [
    {
      "ItemDescr": "sample string 1",
      "Qty": 2.0,
      "TotalAmt": 3.0
    },
    {
      "ItemDescr": "sample string 1",
      "Qty": 2.0,
      "TotalAmt": 3.0
    }
  ],
  "CollectionDetails": [
    {
      "CollMode": "sample string 1",
      "CollAmt": 2.0
    },
    {
      "CollMode": "sample string 1",
      "CollAmt": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<PrintItemSummaryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CollectionDetails>
    <PrintCollectionModel>
      <CollAmt>2</CollAmt>
      <CollMode>sample string 1</CollMode>
    </PrintCollectionModel>
    <PrintCollectionModel>
      <CollAmt>2</CollAmt>
      <CollMode>sample string 1</CollMode>
    </PrintCollectionModel>
  </CollectionDetails>
  <ItemSummary>
    <PrintSummaryModel>
      <ItemDescr>sample string 1</ItemDescr>
      <Qty>2</Qty>
      <TotalAmt>3</TotalAmt>
    </PrintSummaryModel>
    <PrintSummaryModel>
      <ItemDescr>sample string 1</ItemDescr>
      <Qty>2</Qty>
      <TotalAmt>3</TotalAmt>
    </PrintSummaryModel>
  </ItemSummary>
</PrintItemSummaryModel>