POST api/OrgUnit2

Endpoint to create OrgUnit2

Request Information

URI Parameters

None.

Body Parameters

PostOrgUnit2Dto
NameDescriptionTypeAdditional information
OrgUnit2No

integer

None.

OrgUnit1No

integer

None.

Name

string

None.

CustomerNo

integer

None.

Group12

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrgUnit2No": 1,
  "OrgUnit1No": 2,
  "Name": "sample string 3",
  "CustomerNo": 4,
  "Group12": 5
}

application/xml, text/xml

Sample:
<PostOrgUnit2Dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Post">
  <CustomerNo xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Shared">4</CustomerNo>
  <Group12 xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Shared">5</Group12>
  <Name xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Shared">sample string 3</Name>
  <OrgUnit1No xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Shared">2</OrgUnit1No>
  <OrgUnit2No xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Shared">0</OrgUnit2No>
  <OrgUnit2No>1</OrgUnit2No>
</PostOrgUnit2Dto>

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 'PostOrgUnit2Dto'.

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.