POST api/Values/InsertPersonInCharge

Request Information

URI Parameters

None.

Body Parameters

InsertPersonInChargeEnitiy
NameDescriptionTypeAdditional information
UserID

integer

None.

Token

string

None.

PersonID

integer

None.

OrgaID

string

None.

CustomerID

integer

None.

SalesGroupID

integer

None.

GroupManagerID

integer

None.

ContactPerson

string

None.

AccountOwnerID

integer

None.

Department

string

None.

Telephone

string

None.

HandPhone

string

None.

Ext

string

None.

Email

string

None.

PositionRole

string

None.

ActionType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Token": "sample string 2",
  "PersonID": 3,
  "OrgaID": "sample string 4",
  "CustomerID": 5,
  "SalesGroupID": 6,
  "GroupManagerID": 7,
  "ContactPerson": "sample string 8",
  "AccountOwnerID": 9,
  "Department": "sample string 10",
  "Telephone": "sample string 11",
  "HandPhone": "sample string 12",
  "Ext": "sample string 13",
  "Email": "sample string 14",
  "PositionRole": "sample string 15",
  "ActionType": 16
}

text/html

Sample:
{"UserID":1,"Token":"sample string 2","PersonID":3,"OrgaID":"sample string 4","CustomerID":5,"SalesGroupID":6,"GroupManagerID":7,"ContactPerson":"sample string 8","AccountOwnerID":9,"Department":"sample string 10","Telephone":"sample string 11","HandPhone":"sample string 12","Ext":"sample string 13","Email":"sample string 14","PositionRole":"sample string 15","ActionType":16}

application/xml, text/xml

Sample:
<ValuesController.InsertPersonInChargeEnitiy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <AccountOwnerID>9</AccountOwnerID>
  <ActionType>16</ActionType>
  <ContactPerson>sample string 8</ContactPerson>
  <CustomerID>5</CustomerID>
  <Department>sample string 10</Department>
  <Email>sample string 14</Email>
  <Ext>sample string 13</Ext>
  <GroupManagerID>7</GroupManagerID>
  <HandPhone>sample string 12</HandPhone>
  <OrgaID>sample string 4</OrgaID>
  <PersonID>3</PersonID>
  <PositionRole>sample string 15</PositionRole>
  <SalesGroupID>6</SalesGroupID>
  <Telephone>sample string 11</Telephone>
  <Token>sample string 2</Token>
  <UserID>1</UserID>
</ValuesController.InsertPersonInChargeEnitiy>

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

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>