POST AddUpdateUser
Request Information
URI Parameters
None.
Body Parameters
UserModelName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
LoginName | string |
None. |
|
string |
None. |
||
PGHReportEmail | boolean |
None. |
|
PGHAccess | boolean |
None. |
|
PGHAccessText | string |
None. |
|
PGHReportEmailText | string |
None. |
|
UserRoleID | integer |
None. |
|
UserRoleText | string |
None. |
|
CreatedBy | integer |
None. |
|
SID | integer |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "LoginName": "sample string 4", "Email": "sample string 5", "PGHReportEmail": true, "PGHAccess": true, "PGHAccessText": "sample string 6", "PGHReportEmailText": "sample string 7", "UserRoleID": 8, "UserRoleText": "sample string 9", "CreatedBy": 10, "SID": 11, "IsDeleted": true }
text/html
Sample:
{"UserID":1,"FirstName":"sample string 2","LastName":"sample string 3","LoginName":"sample string 4","Email":"sample string 5","PGHReportEmail":true,"PGHAccess":true,"PGHAccessText":"sample string 6","PGHReportEmailText":"sample string 7","UserRoleID":8,"UserRoleText":"sample string 9","CreatedBy":10,"SID":11,"IsDeleted":true}
application/xml, text/xml
Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.UserRole"> <CreatedBy>10</CreatedBy> <Email>sample string 5</Email> <FirstName>sample string 2</FirstName> <IsDeleted>true</IsDeleted> <LastName>sample string 3</LastName> <LoginName>sample string 4</LoginName> <PGHAccess>true</PGHAccess> <PGHAccessText>sample string 6</PGHAccessText> <PGHReportEmail>true</PGHReportEmail> <PGHReportEmailText>sample string 7</PGHReportEmailText> <SID>11</SID> <UserID>1</UserID> <UserRoleID>8</UserRoleID> <UserRoleText>sample string 9</UserRoleText> </UserModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": true }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":true}
application/xml, text/xml
Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body>true</Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfboolean>