POST accounting/posts/copy?category={category}&date={date}&description={description}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
category

integer

Required

date

date

Required

description

string

None.

Body Parameters

Collection of DocumentID
NameDescriptionTypeAdditional information
Year

integer

None.

OrganizationalUnitID

integer

None.

CategoryID

integer

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Year": 1,
    "OrganizationalUnitID": 1,
    "CategoryID": 1,
    "ID": 1
  },
  {
    "Year": 1,
    "OrganizationalUnitID": 1,
    "CategoryID": 1,
    "ID": 1
  }
]

text/xml

Sample:
<ArrayOfDocumentID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO">
  <DocumentID>
    <CategoryID>1</CategoryID>
    <ID>1</ID>
    <OrganizationalUnitID>1</OrganizationalUnitID>
    <Year>1</Year>
  </DocumentID>
  <DocumentID>
    <CategoryID>1</CategoryID>
    <ID>1</ID>
    <OrganizationalUnitID>1</OrganizationalUnitID>
    <Year>1</Year>
  </DocumentID>
</ArrayOfDocumentID>

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 'IList`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.