POST api/Reports/SaveAndGetAsciiFiles

Request Information

URI Parameters

None.

Body Parameters

SaveGetAsciiObj
NameDescriptionTypeAdditional information
pFormatName

string

None.

pMushlamDocs

Collection of MushlamDoc

None.

linesToUpdate

Collection of AsciiInvoiceCriteria

None.

Request Formats

application/json, text/json

Sample:
{
  "pFormatName": "sample string 1",
  "pMushlamDocs": null,
  "linesToUpdate": [
    {
      "line_code": 1,
      "invoice": "sample string 1",
      "isCredit": true
    },
    {
      "line_code": 1,
      "invoice": "sample string 1",
      "isCredit": true
    }
  ]
}

application/xml, text/xml

Sample:
<SaveGetAsciiObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">
  <linesToUpdate>
    <AsciiInvoiceCriteria>
      <invoice>sample string 1</invoice>
      <isCredit>true</isCredit>
      <line_code>1</line_code>
    </AsciiInvoiceCriteria>
    <AsciiInvoiceCriteria>
      <invoice>sample string 1</invoice>
      <isCredit>true</isCredit>
      <line_code>1</line_code>
    </AsciiInvoiceCriteria>
  </linesToUpdate>
  <pFormatName>sample string 1</pFormatName>
  <pMushlamDocs i:nil="true" />
</SaveGetAsciiObj>

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 'SaveGetAsciiObj'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of FileBytes
NameDescriptionTypeAdditional information
file_name

string

None.

file_content

Collection of byte

None.

Response Formats

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

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.