POST api/import

Request Information

URI Parameters

None.

Body Parameters

Collection of ImportFile
NameDescriptionTypeAdditional information
FileName

string

None.

CompanyCode

integer

None.

Delimiter

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "FileName": "sample string 1",
    "CompanyCode": 2,
    "Delimiter": "sample string 3"
  },
  {
    "FileName": "sample string 1",
    "CompanyCode": 2,
    "Delimiter": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfImportFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.Models">
  <ImportFile>
    <CompanyCode>2</CompanyCode>
    <Delimiter>sample string 3</Delimiter>
    <FileName>sample string 1</FileName>
  </ImportFile>
  <ImportFile>
    <CompanyCode>2</CompanyCode>
    <Delimiter>sample string 3</Delimiter>
    <FileName>sample string 1</FileName>
  </ImportFile>
</ArrayOfImportFile>

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 'List`1'

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.