POST api/DocumentCreator/CreateTransportPackage

Request Information

URI Parameters

None.

Body Parameters

RegistrationPackageDTO
NameDescriptionTypeAdditional information
TaxCode

string

Required

Inn

string

Required

Statement

FileDataDTO

None.

StatementSignature

FileDataDTO

None.

Inventory

FileDataDTO

None.

InventorySignature

FileDataDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "TaxCode": "sample string 1",
  "Inn": "sample string 2",
  "Statement": {
    "FileName": "sample string 1",
    "FileContent": "sample string 2"
  },
  "StatementSignature": {
    "FileName": "sample string 1",
    "FileContent": "sample string 2"
  },
  "Inventory": {
    "FileName": "sample string 1",
    "FileContent": "sample string 2"
  },
  "InventorySignature": {
    "FileName": "sample string 1",
    "FileContent": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<RegistrationPackageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GosRegService.UL.BLL.DTO.DocumentCreator">
  <Inn>sample string 2</Inn>
  <Inventory>
    <FileContent>sample string 2</FileContent>
    <FileName>sample string 1</FileName>
  </Inventory>
  <InventorySignature>
    <FileContent>sample string 2</FileContent>
    <FileName>sample string 1</FileName>
  </InventorySignature>
  <Statement>
    <FileContent>sample string 2</FileContent>
    <FileName>sample string 1</FileName>
  </Statement>
  <StatementSignature>
    <FileContent>sample string 2</FileContent>
    <FileName>sample string 1</FileName>
  </StatementSignature>
  <TaxCode>sample string 1</TaxCode>
</RegistrationPackageDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FileDataDTO
NameDescriptionTypeAdditional information
FileName

string

None.

FileContent

string

None.

Response Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "FileContent": "sample string 2"
}

application/xml, text/xml

Sample:
<FileDataDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GosRegService.UL.BLL.DTO.DocumentCreator">
  <FileContent>sample string 2</FileContent>
  <FileName>sample string 1</FileName>
</FileDataDTO>