POST Api/TypeOfWorkflowDocuments

Dodaje asynchronicznie nowy obiekt TypeOfWorkflowDocument do bazy danych

Request Information

URI Parameters

None.

Body Parameters

nowy obiekt

TypeOfWorkflowDocumentDto
NameDescriptionTypeAdditional information
TypeOfWorkflowDocumentId

integer

Required

Name

string

Required

OrganizationalUnitId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "typeOfWorkflowDocumentId": 1,
  "name": "sample string 2",
  "organizationalUnitId": 3
}

multipart/form-data

Sample:
{"typeOfWorkflowDocumentId":1,"name":"sample string 2","organizationalUnitId":3}

application/xml, text/xml

Sample:
<TypeOfWorkflowDocumentDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TypeOfWorkflowDocumentId>1</TypeOfWorkflowDocumentId>
  <Name>sample string 2</Name>
  <OrganizationalUnitId>3</OrganizationalUnitId>
</TypeOfWorkflowDocumentDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

identyfikator nowo dodanego obiektu

TypeOfWorkflowDocumentDto
NameDescriptionTypeAdditional information
TypeOfWorkflowDocumentId

integer

Required

Name

string

Required

OrganizationalUnitId

integer

Required

Response Formats

application/json, text/json

Sample:
{
  "typeOfWorkflowDocumentId": 1,
  "name": "sample string 2",
  "organizationalUnitId": 3
}

multipart/form-data

Sample:
{"typeOfWorkflowDocumentId":1,"name":"sample string 2","organizationalUnitId":3}

application/xml, text/xml

Sample:
<TypeOfWorkflowDocumentDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TypeOfWorkflowDocumentId>1</TypeOfWorkflowDocumentId>
  <Name>sample string 2</Name>
  <OrganizationalUnitId>3</OrganizationalUnitId>
</TypeOfWorkflowDocumentDto>