POST api/BillAttachment

Post list of bills.

Request Information

URI Parameters

None.

Body Parameters

Collection of ApiBillAttachmentInput
NameDescriptionTypeAdditional information
id

integer

None.

id_stock_document

integer

None.

id_person

integer

None.

file_name

string

None.

mark_to_delete

boolean

None.

id_asm

integer

None.

google_drive_file_id

string

None.

google_drive_connection_id

integer

None.

data_base64

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "id_stock_document": 1,
    "id_person": 2,
    "file_name": "sample string 3",
    "mark_to_delete": true,
    "id_asm": 1,
    "google_drive_file_id": "sample string 5",
    "google_drive_connection_id": 1,
    "data_base64": "sample string 6"
  },
  {
    "id": 1,
    "id_stock_document": 1,
    "id_person": 2,
    "file_name": "sample string 3",
    "mark_to_delete": true,
    "id_asm": 1,
    "google_drive_file_id": "sample string 5",
    "google_drive_connection_id": 1,
    "data_base64": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiBillAttachmentInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ApiBillAttachmentInput>
    <id>1</id>
    <id_stock_document>1</id_stock_document>
    <id_person>2</id_person>
    <file_name>sample string 3</file_name>
    <mark_to_delete>true</mark_to_delete>
    <id_asm>1</id_asm>
    <google_drive_file_id>sample string 5</google_drive_file_id>
    <google_drive_connection_id>1</google_drive_connection_id>
    <data_base64>sample string 6</data_base64>
  </ApiBillAttachmentInput>
  <ApiBillAttachmentInput>
    <id>1</id>
    <id_stock_document>1</id_stock_document>
    <id_person>2</id_person>
    <file_name>sample string 3</file_name>
    <mark_to_delete>true</mark_to_delete>
    <id_asm>1</id_asm>
    <google_drive_file_id>sample string 5</google_drive_file_id>
    <google_drive_connection_id>1</google_drive_connection_id>
    <data_base64>sample string 6</data_base64>
  </ApiBillAttachmentInput>
</ArrayOfApiBillAttachmentInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.