POST api/Users/save_user

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
Code

integer

None.

Name

string

None.

UserId

string

None.

isActive

integer

None.

UserType

integer

None.

Designation

string

None.

DesignationCode

integer

None.

Password

string

None.

PostedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Name": "sample string 2",
  "UserId": "sample string 3",
  "isActive": 4,
  "UserType": 5,
  "Designation": "sample string 6",
  "DesignationCode": 7,
  "Password": "sample string 8",
  "PostedBy": 9
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SynthesicAPI.Models">
  <Code>1</Code>
  <Designation>sample string 6</Designation>
  <DesignationCode>7</DesignationCode>
  <Name>sample string 2</Name>
  <Password>sample string 8</Password>
  <PostedBy>9</PostedBy>
  <UserId>sample string 3</UserId>
  <UserType>5</UserType>
  <isActive>4</isActive>
</UserModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SynthesicAPI.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfstring>