POST SalesQuote/PrintDocumentV2

Request Information

URI Parameters

None.

Body Parameters

XS.CoreApi.Pentagon.Model.XS_PrintParams
NameDescriptionTypeAdditional information
DOC_NO

integer

None.

DOC_TYPE

string

None.

DOC_CATEGORY

XS.CoreApi.Pentagon.Model.P2kDocCategory

None.

LineDetailToAppend

Collection of XS.CoreApi.Pentagon.Model.PrintLineDetailLabelContentPair

None.

NSC_LineColorCoding

Collection of XS.CoreApi.Pentagon.Model.NSC_PrintLineColorCoding

None.

DoNotPrintHeader

boolean

None.

NSC_PrintNonReturnableMessage

boolean

None.

NSC_InspLocation

XS.CoreApi.Pentagon.Model.InspLocation

None.

NSC_InvoicePrintType

XS.CoreApi.Pentagon.Model.NscInvoiceType

None.

NSC_PackageInfo

Collection of XS.CoreApi.Pentagon.Model.PrintLabelContentPair

None.

NORCATEC_HeaderEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DOC_NO": 1,
  "DOC_TYPE": "sample string 2",
  "DOC_CATEGORY": 0,
  "LineDetailToAppend": [
    {
      "LineNo": 1.0,
      "Label": "sample string 2",
      "Content": "sample string 3"
    },
    {
      "LineNo": 1.0,
      "Label": "sample string 2",
      "Content": "sample string 3"
    }
  ],
  "NSC_LineColorCoding": [
    {
      "LineNo": 1.0,
      "IsNew": true,
      "IsModified": true
    },
    {
      "LineNo": 1.0,
      "IsNew": true,
      "IsModified": true
    }
  ],
  "DoNotPrintHeader": true,
  "NSC_PrintNonReturnableMessage": true,
  "NSC_InspLocation": 0,
  "NSC_InvoicePrintType": 0,
  "NSC_PackageInfo": [
    {
      "Label": "sample string 1",
      "Content": "sample string 2"
    },
    {
      "Label": "sample string 1",
      "Content": "sample string 2"
    }
  ],
  "NORCATEC_HeaderEmail": "sample string 5"
}

application/xml, text/xml

Sample:
<XS_PrintParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XS.CoreApi.Pentagon.Model">
  <DOC_CATEGORY>PurchaseClaim</DOC_CATEGORY>
  <DOC_NO>1</DOC_NO>
  <DOC_TYPE>sample string 2</DOC_TYPE>
  <DoNotPrintHeader>true</DoNotPrintHeader>
  <LineDetailToAppend>
    <PrintLineDetailLabelContentPair>
      <Content>sample string 3</Content>
      <Label>sample string 2</Label>
      <LineNo>1</LineNo>
    </PrintLineDetailLabelContentPair>
    <PrintLineDetailLabelContentPair>
      <Content>sample string 3</Content>
      <Label>sample string 2</Label>
      <LineNo>1</LineNo>
    </PrintLineDetailLabelContentPair>
  </LineDetailToAppend>
  <NORCATEC_HeaderEmail>sample string 5</NORCATEC_HeaderEmail>
  <NSC_InspLocation>NONE</NSC_InspLocation>
  <NSC_InvoicePrintType>NONE</NSC_InvoicePrintType>
  <NSC_LineColorCoding>
    <NSC_PrintLineColorCoding>
      <IsModified>true</IsModified>
      <IsNew>true</IsNew>
      <LineNo>1</LineNo>
    </NSC_PrintLineColorCoding>
    <NSC_PrintLineColorCoding>
      <IsModified>true</IsModified>
      <IsNew>true</IsNew>
      <LineNo>1</LineNo>
    </NSC_PrintLineColorCoding>
  </NSC_LineColorCoding>
  <NSC_PackageInfo>
    <PrintLabelContentPair>
      <Content>sample string 2</Content>
      <Label>sample string 1</Label>
    </PrintLabelContentPair>
    <PrintLabelContentPair>
      <Content>sample string 2</Content>
      <Label>sample string 1</Label>
    </PrintLabelContentPair>
  </NSC_PackageInfo>
  <NSC_PrintNonReturnableMessage>true</NSC_PrintNonReturnableMessage>
</XS_PrintParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.