POST Web/masterdata/saveuser

Request Information

URI Parameters

None.

Body Parameters

UserDto
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Email

string

None.

Phone

string

None.

UserName

string

None.

PassWord

string

None.

UserTypeId

integer

None.

IsEnabled

boolean

None.

OrganizationId

integer

None.

CreatedDate

date

None.

Isactive

boolean

None.

CreatedBy

string

None.

UpdatedBy

string

None.

Location

string

None.

agency

string

None.

RoleId

integer

None.

UserId

integer

None.

IMEI

string

None.

Role

string

None.

AppVersion

string

None.

MobileName

string

None.

MobileVersion

string

None.

PackageId

integer

None.

SessionId

integer

None.

Islocked

integer

None.

UniqueNumber

string

None.

LastLat

string

None.

LastLang

string

None.

LastLocUpdated

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Phone": "sample string 4",
  "UserName": "sample string 5",
  "PassWord": "sample string 6",
  "UserTypeId": 1,
  "IsEnabled": true,
  "OrganizationId": 1,
  "CreatedDate": "2026-05-30T04:46:42.7664198+05:30",
  "Isactive": true,
  "CreatedBy": "sample string 9",
  "UpdatedBy": "sample string 10",
  "Location": "sample string 11",
  "agency": "sample string 12",
  "RoleId": 1,
  "UserId": 1,
  "IMEI": "sample string 13",
  "Role": "sample string 14",
  "AppVersion": "sample string 15",
  "MobileName": "sample string 16",
  "MobileVersion": "sample string 17",
  "PackageId": 1,
  "SessionId": 1,
  "Islocked": 1,
  "UniqueNumber": "sample string 18",
  "LastLat": "sample string 19",
  "LastLang": "sample string 20",
  "LastLocUpdated": "2026-05-30T04:46:42.7820941+05:30"
}

text/html

Sample:
{"Id":1,"Name":"sample string 2","Email":"sample string 3","Phone":"sample string 4","UserName":"sample string 5","PassWord":"sample string 6","UserTypeId":1,"IsEnabled":true,"OrganizationId":1,"CreatedDate":"2026-05-30T04:46:42.7664198+05:30","Isactive":true,"CreatedBy":"sample string 9","UpdatedBy":"sample string 10","Location":"sample string 11","agency":"sample string 12","RoleId":1,"UserId":1,"IMEI":"sample string 13","Role":"sample string 14","AppVersion":"sample string 15","MobileName":"sample string 16","MobileVersion":"sample string 17","PackageId":1,"SessionId":1,"Islocked":1,"UniqueNumber":"sample string 18","LastLat":"sample string 19","LastLang":"sample string 20","LastLocUpdated":"2026-05-30T04:46:42.7820941+05:30"}

application/xml, text/xml

Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tracking.Entity">
  <AppVersion>sample string 15</AppVersion>
  <CreatedBy>sample string 9</CreatedBy>
  <CreatedDate>2026-05-30T04:46:42.7664198+05:30</CreatedDate>
  <Email>sample string 3</Email>
  <IMEI>sample string 13</IMEI>
  <Id>1</Id>
  <IsEnabled>true</IsEnabled>
  <Isactive>true</Isactive>
  <Islocked>1</Islocked>
  <LastLang>sample string 20</LastLang>
  <LastLat>sample string 19</LastLat>
  <LastLocUpdated>2026-05-30T04:46:42.7820941+05:30</LastLocUpdated>
  <Location>sample string 11</Location>
  <MobileName>sample string 16</MobileName>
  <MobileVersion>sample string 17</MobileVersion>
  <Name>sample string 2</Name>
  <OrganizationId>1</OrganizationId>
  <PackageId>1</PackageId>
  <PassWord>sample string 6</PassWord>
  <Phone>sample string 4</Phone>
  <Role>sample string 14</Role>
  <RoleId>1</RoleId>
  <SessionId>1</SessionId>
  <UniqueNumber>sample string 18</UniqueNumber>
  <UpdatedBy>sample string 10</UpdatedBy>
  <UserId>1</UserId>
  <UserName>sample string 5</UserName>
  <UserTypeId>1</UserTypeId>
  <agency>sample string 12</agency>
</UserDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.