POST api/WebUsers/PostWebUser

Request Information

URI Parameters

None.

Body Parameters

WebUserModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

RoleName

string

None.

Password

string

None.

RoleId

globally unique identifier

None.

RefreshToken

string

None.

RefreshTokenExpiryTime

date

None.

LastLogin

date

None.

Status

boolean

None.

IsDeleted

boolean

None.

CREATED_ON

date

None.

CREATED_BY

globally unique identifier

None.

UPDATED_ON

date

None.

UPDATED_BY

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "cbd4c595-ad3c-41b8-842e-c1e9a760921c",
  "UserName": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Email": "sample string 5",
  "RoleName": "sample string 6",
  "Password": "sample string 7",
  "RoleId": "8219a1c2-3134-4a80-a46f-659eca2648c9",
  "RefreshToken": "sample string 9",
  "RefreshTokenExpiryTime": "2025-05-02T23:38:48.8091423-04:00",
  "LastLogin": "2025-05-02T23:38:48.8091423-04:00",
  "Status": true,
  "IsDeleted": true,
  "CREATED_ON": "2025-05-02T23:38:48.8091423-04:00",
  "CREATED_BY": "601bf01b-8ec8-4cf7-b947-1cbf34ec1ab9",
  "UPDATED_ON": "2025-05-02T23:38:48.8091423-04:00",
  "UPDATED_BY": "cb35e147-950b-45cf-8606-c7fd2405aebe"
}

application/xml, text/xml

Sample:
<WebUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreditorNetWebAPI.Models">
  <CREATED_BY>601bf01b-8ec8-4cf7-b947-1cbf34ec1ab9</CREATED_BY>
  <CREATED_ON>2025-05-02T23:38:48.8091423-04:00</CREATED_ON>
  <Email>sample string 5</Email>
  <FirstName>sample string 3</FirstName>
  <IsDeleted>true</IsDeleted>
  <LastLogin>2025-05-02T23:38:48.8091423-04:00</LastLogin>
  <LastName>sample string 4</LastName>
  <Password>sample string 7</Password>
  <RefreshToken>sample string 9</RefreshToken>
  <RefreshTokenExpiryTime>2025-05-02T23:38:48.8091423-04:00</RefreshTokenExpiryTime>
  <RoleId>8219a1c2-3134-4a80-a46f-659eca2648c9</RoleId>
  <RoleName>sample string 6</RoleName>
  <Status>true</Status>
  <UPDATED_BY>cb35e147-950b-45cf-8606-c7fd2405aebe</UPDATED_BY>
  <UPDATED_ON>2025-05-02T23:38:48.8091423-04:00</UPDATED_ON>
  <UserId>cbd4c595-ad3c-41b8-842e-c1e9a760921c</UserId>
  <UserName>sample string 2</UserName>
</WebUserModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WebUserModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

RoleName

string

None.

Password

string

None.

RoleId

globally unique identifier

None.

RefreshToken

string

None.

RefreshTokenExpiryTime

date

None.

LastLogin

date

None.

Status

boolean

None.

IsDeleted

boolean

None.

CREATED_ON

date

None.

CREATED_BY

globally unique identifier

None.

UPDATED_ON

date

None.

UPDATED_BY

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": "9da91ff9-1f6e-4d4a-ac9a-904927bf142c",
  "UserName": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Email": "sample string 5",
  "RoleName": "sample string 6",
  "Password": "sample string 7",
  "RoleId": "99c9fd39-6e2e-4d80-a0b0-570d842212b6",
  "RefreshToken": "sample string 9",
  "RefreshTokenExpiryTime": "2025-05-02T23:38:48.8101433-04:00",
  "LastLogin": "2025-05-02T23:38:48.8101433-04:00",
  "Status": true,
  "IsDeleted": true,
  "CREATED_ON": "2025-05-02T23:38:48.8101433-04:00",
  "CREATED_BY": "7db1206e-5949-4c2a-b9e4-dafcb548e3ca",
  "UPDATED_ON": "2025-05-02T23:38:48.8101433-04:00",
  "UPDATED_BY": "719c8cb8-275b-417a-a967-05d932547a98"
}

application/xml, text/xml

Sample:
<WebUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreditorNetWebAPI.Models">
  <CREATED_BY>7db1206e-5949-4c2a-b9e4-dafcb548e3ca</CREATED_BY>
  <CREATED_ON>2025-05-02T23:38:48.8101433-04:00</CREATED_ON>
  <Email>sample string 5</Email>
  <FirstName>sample string 3</FirstName>
  <IsDeleted>true</IsDeleted>
  <LastLogin>2025-05-02T23:38:48.8101433-04:00</LastLogin>
  <LastName>sample string 4</LastName>
  <Password>sample string 7</Password>
  <RefreshToken>sample string 9</RefreshToken>
  <RefreshTokenExpiryTime>2025-05-02T23:38:48.8101433-04:00</RefreshTokenExpiryTime>
  <RoleId>99c9fd39-6e2e-4d80-a0b0-570d842212b6</RoleId>
  <RoleName>sample string 6</RoleName>
  <Status>true</Status>
  <UPDATED_BY>719c8cb8-275b-417a-a967-05d932547a98</UPDATED_BY>
  <UPDATED_ON>2025-05-02T23:38:48.8101433-04:00</UPDATED_ON>
  <UserId>9da91ff9-1f6e-4d4a-ac9a-904927bf142c</UserId>
  <UserName>sample string 2</UserName>
</WebUserModel>