POST api/AdminUserAPI/NewInsertUpdateAdminUser
Request Information
URI Parameters
None.
Body Parameters
AdminUserDTOName | Description | Type | Additional information |
---|---|---|---|
AdminId | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
EmpNo | string |
None. |
|
Mobile | string |
None. |
|
string |
None. |
||
Password | string |
None. |
|
ConfirmPassword | string |
None. |
|
NationalityId | integer |
None. |
|
RoleId | integer |
None. |
|
StoreIds | 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, "FirstName": "sample string 2", "LastName": "sample string 3", "EmpNo": "sample string 4", "Mobile": "sample string 5", "Email": "sample string 6", "Password": "sample string 7", "ConfirmPassword": "sample string 8", "NationalityId": 9, "RoleId": 10, "StoreIds": "sample string 11", "IsActive": true, "CreatedBy": 12, "IsDeleted": true, "Message": "sample string 14", "MessageAr": "sample string 15", "UserId": 16, "UserBrandId": 17, "Status": true, "datasetxml": "sample string 19", "StatusCode": 20 }
application/xml, text/xml
Sample:
<AdminUserDTO 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>12</CreatedBy> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <Message>sample string 14</Message> <MessageAr>sample string 15</MessageAr> <RoleId>0</RoleId> <Status>true</Status> <StatusCode>20</StatusCode> <UserBrandId>17</UserBrandId> <UserId>16</UserId> <datasetxml>sample string 19</datasetxml> <AdminId>1</AdminId> <ConfirmPassword>sample string 8</ConfirmPassword> <Email>sample string 6</Email> <EmpNo>sample string 4</EmpNo> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <Mobile>sample string 5</Mobile> <NationalityId>9</NationalityId> <Password>sample string 7</Password> <RoleId>10</RoleId> <StoreIds>sample string 11</StoreIds> </AdminUserDTO>
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.