POST api/AuthenticationAPI/NewAuthentication
Request Information
URI Parameters
None.
Body Parameters
AuthenticationDTOName | Description | Type | Additional information |
---|---|---|---|
AdminId | integer |
None. |
|
UserName | string |
None. |
|
Password | string |
None. |
|
RoleId | integer |
None. |
|
RoleName | string |
None. |
|
Details | string |
None. |
|
IsActive | boolean |
None. |
|
CreatedBy | integer |
None. |
|
IsDeleted | boolean |
None. |
|
Message | string |
None. |
|
MessageAr | string |
None. |
|
UserId | integer |
None. |
|
UserBrandId | integer |
None. |
|
Status | boolean |
None. |
|
datasetxml | string |
None. |
|
StatusCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AdminId": 1, "UserName": "sample string 2", "Password": "sample string 3", "RoleId": 4, "RoleName": "sample string 5", "Details": "sample string 6", "IsActive": true, "CreatedBy": 7, "IsDeleted": true, "Message": "sample string 9", "MessageAr": "sample string 10", "UserId": 11, "UserBrandId": 12, "Status": true, "datasetxml": "sample string 14", "StatusCode": 15 }
application/xml, text/xml
Sample:
<AuthenticationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BNC.POS.API.DTO_s"> <AdminId>0</AdminId> <CreatedBy>7</CreatedBy> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <Message>sample string 9</Message> <MessageAr>sample string 10</MessageAr> <RoleId>0</RoleId> <Status>true</Status> <StatusCode>15</StatusCode> <UserBrandId>12</UserBrandId> <UserId>11</UserId> <datasetxml>sample string 14</datasetxml> <AdminId>1</AdminId> <Details>sample string 6</Details> <Password>sample string 3</Password> <RoleId>4</RoleId> <RoleName>sample string 5</RoleName> <UserName>sample string 2</UserName> </AuthenticationDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.