GET api/SalesPrint/get_print_data/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResultModelOfSalesPrintModel
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

SalesPrintModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": {
    "MasterData": {
      "Code": 1,
      "OumaCode": 2,
      "PrintFormat": "sample string 3",
      "StoreName": "sample string 4",
      "StoreAddress": "sample string 5",
      "StorePhone": "sample string 6",
      "StoreMobile": "sample string 7",
      "CustomerCareNumber": "sample string 8",
      "StoreEmail": "sample string 9",
      "StoreGSTIN": "sample string 10",
      "DispatchFrom": "sample string 11",
      "InvoiceNo": "sample string 12",
      "InvoiceDate": "sample string 13",
      "InvoiceTime": "sample string 14",
      "InvoiceState": "sample string 15",
      "SalesPerson": "sample string 16",
      "BilledCustomer": "sample string 17",
      "BilledCustAddress": "sample string 18",
      "BilledCustMobileNo": "sample string 19",
      "BilledCustGSTIN": "sample string 20",
      "BilledCustState": "sample string 21",
      "SubTotalAmt": 22.1,
      "RoundOFfAmt": 23.1,
      "TotalAmount": 24.1,
      "InvoiceAmount": 25.1,
      "TotalAmtInWords": "sample string 26"
    },
    "DetailsData": [
      {
        "Code": 1,
        "OumaCode": 2,
        "SlNo": 3,
        "Qty": 4.1,
        "Rate": 5.1,
        "ItemDetails": "sample string 6",
        "ItemFooter": "sample string 7",
        "HSN": "sample string 8",
        "GSTName": "sample string 9",
        "GrossAmt": 10.1,
        "DiscountAmt": 11.1,
        "Charges": 12.1,
        "TaxableAmt": 13.1,
        "TaxAmount": 14.1,
        "Total": 15.1
      },
      {
        "Code": 1,
        "OumaCode": 2,
        "SlNo": 3,
        "Qty": 4.1,
        "Rate": 5.1,
        "ItemDetails": "sample string 6",
        "ItemFooter": "sample string 7",
        "HSN": "sample string 8",
        "GSTName": "sample string 9",
        "GrossAmt": 10.1,
        "DiscountAmt": 11.1,
        "Charges": 12.1,
        "TaxableAmt": 13.1,
        "TaxAmount": 14.1,
        "Total": 15.1
      }
    ],
    "TaxData": [
      {
        "Code": 1,
        "OumaCode": 2,
        "TaxName": "sample string 3",
        "HSN": "sample string 4",
        "TaxableAmount": 5.1,
        "Tax": 6.1
      },
      {
        "Code": 1,
        "OumaCode": 2,
        "TaxName": "sample string 3",
        "HSN": "sample string 4",
        "TaxableAmount": 5.1,
        "Tax": 6.1
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResultModelOfSalesPrintModelC6pxiZC7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/v2SeApi.Models">
  <Data>
    <DetailsData>
      <SalesDetailsModel>
        <Charges>12.1</Charges>
        <Code>1</Code>
        <DiscountAmt>11.1</DiscountAmt>
        <GSTName>sample string 9</GSTName>
        <GrossAmt>10.1</GrossAmt>
        <HSN>sample string 8</HSN>
        <ItemDetails>sample string 6</ItemDetails>
        <ItemFooter>sample string 7</ItemFooter>
        <OumaCode>2</OumaCode>
        <Qty>4.1</Qty>
        <Rate>5.1</Rate>
        <SlNo>3</SlNo>
        <TaxAmount>14.1</TaxAmount>
        <TaxableAmt>13.1</TaxableAmt>
        <Total>15.1</Total>
      </SalesDetailsModel>
      <SalesDetailsModel>
        <Charges>12.1</Charges>
        <Code>1</Code>
        <DiscountAmt>11.1</DiscountAmt>
        <GSTName>sample string 9</GSTName>
        <GrossAmt>10.1</GrossAmt>
        <HSN>sample string 8</HSN>
        <ItemDetails>sample string 6</ItemDetails>
        <ItemFooter>sample string 7</ItemFooter>
        <OumaCode>2</OumaCode>
        <Qty>4.1</Qty>
        <Rate>5.1</Rate>
        <SlNo>3</SlNo>
        <TaxAmount>14.1</TaxAmount>
        <TaxableAmt>13.1</TaxableAmt>
        <Total>15.1</Total>
      </SalesDetailsModel>
    </DetailsData>
    <MasterData>
      <BilledCustAddress>sample string 18</BilledCustAddress>
      <BilledCustGSTIN>sample string 20</BilledCustGSTIN>
      <BilledCustMobileNo>sample string 19</BilledCustMobileNo>
      <BilledCustState>sample string 21</BilledCustState>
      <BilledCustomer>sample string 17</BilledCustomer>
      <Code>1</Code>
      <CustomerCareNumber>sample string 8</CustomerCareNumber>
      <DispatchFrom>sample string 11</DispatchFrom>
      <InvoiceAmount>25.1</InvoiceAmount>
      <InvoiceDate>sample string 13</InvoiceDate>
      <InvoiceNo>sample string 12</InvoiceNo>
      <InvoiceState>sample string 15</InvoiceState>
      <InvoiceTime>sample string 14</InvoiceTime>
      <OumaCode>2</OumaCode>
      <PrintFormat>sample string 3</PrintFormat>
      <RoundOFfAmt>23.1</RoundOFfAmt>
      <SalesPerson>sample string 16</SalesPerson>
      <StoreAddress>sample string 5</StoreAddress>
      <StoreEmail>sample string 9</StoreEmail>
      <StoreGSTIN>sample string 10</StoreGSTIN>
      <StoreMobile>sample string 7</StoreMobile>
      <StoreName>sample string 4</StoreName>
      <StorePhone>sample string 6</StorePhone>
      <SubTotalAmt>22.1</SubTotalAmt>
      <TotalAmount>24.1</TotalAmount>
      <TotalAmtInWords>sample string 26</TotalAmtInWords>
    </MasterData>
    <TaxData>
      <SalesTaxModel>
        <Code>1</Code>
        <HSN>sample string 4</HSN>
        <OumaCode>2</OumaCode>
        <Tax>6.1</Tax>
        <TaxName>sample string 3</TaxName>
        <TaxableAmount>5.1</TaxableAmount>
      </SalesTaxModel>
      <SalesTaxModel>
        <Code>1</Code>
        <HSN>sample string 4</HSN>
        <OumaCode>2</OumaCode>
        <Tax>6.1</Tax>
        <TaxName>sample string 3</TaxName>
        <TaxableAmount>5.1</TaxableAmount>
      </SalesTaxModel>
    </TaxData>
  </Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfSalesPrintModelC6pxiZC7>