POST api/User/SaveUser

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

email

string

None.

mob

string

None.

pwd

string

None.

img

string

None.

created

date

None.

createdBy

string

None.

updated

date

None.

updatedBy

string

None.

status

boolean

None.

role

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "email": "sample string 3",
  "mob": "sample string 4",
  "pwd": "sample string 5",
  "img": "sample string 6",
  "created": "2025-12-09T19:03:31.1226684-08:00",
  "createdBy": "sample string 7",
  "updated": "2025-12-09T19:03:31.1226684-08:00",
  "updatedBy": "sample string 8",
  "status": true,
  "role": "sample string 9"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API">
  <created>2025-12-09T19:03:31.1226684-08:00</created>
  <createdBy>sample string 7</createdBy>
  <email>sample string 3</email>
  <id>1</id>
  <img>sample string 6</img>
  <mob>sample string 4</mob>
  <name>sample string 2</name>
  <pwd>sample string 5</pwd>
  <role>sample string 9</role>
  <status>true</status>
  <updated>2025-12-09T19:03:31.1226684-08:00</updated>
  <updatedBy>sample string 8</updatedBy>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.