POST _api/ESGAPI/InternalUser

Request Information

URI Parameters

None.

Body Parameters

NewInternalUser
NameDescriptionTypeAdditional information
UserName

string

None.

Createdby

string

None.

IPAddress

string

None.

FullName

string

None.

Department

integer

None.

RoleID

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Createdby": "sample string 2",
  "IPAddress": "sample string 3",
  "FullName": "sample string 4",
  "Department": 5,
  "RoleID": 6,
  "IsActive": true
}

application/xml, text/xml

Sample:
<NewInternalUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NsiaMemoAPI.ESGProject.Requests">
  <Createdby>sample string 2</Createdby>
  <Department>5</Department>
  <FullName>sample string 4</FullName>
  <IPAddress>sample string 3</IPAddress>
  <IsActive>true</IsActive>
  <RoleID>6</RoleID>
  <UserName>sample string 1</UserName>
</NewInternalUser>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.