POST api/superadmin/admins
add new admin to service
Request Information
URI Parameters
None.
Body Parameters
SupseradminAddNewAdminName | Description | Type | Additional information |
---|---|---|---|
string |
Required |
||
firstName | string |
Required |
|
lastName | string |
Required |
|
phone | string |
Required |
|
tariffId | integer |
Required |
|
finishDate | date |
Required |
|
fromService | boolean |
Required |
|
usePositionsForKeys | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "email": "sample string 1", "firstName": "sample string 2", "lastName": "sample string 3", "phone": "sample string 4", "tariffId": 5, "finishDate": "2025-04-04T00:21:05.9171183+00:00", "fromService": true, "usePositionsForKeys": true }
application/xml, text/xml
Sample:
<SupseradminAddNewAdmin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CraudWezom_v1.Models.Users"> <email>sample string 1</email> <finishDate>2025-04-04T00:21:05.9171183+00:00</finishDate> <firstName>sample string 2</firstName> <fromService>true</fromService> <lastName>sample string 3</lastName> <phone>sample string 4</phone> <tariffId>5</tariffId> <usePositionsForKeys>true</usePositionsForKeys> </SupseradminAddNewAdmin>
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.