PUT api/superadmin/admins/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
SuperadminAdminsName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
string |
None. |
||
firstName | string |
None. |
|
lastName | string |
None. |
|
joinDate | date |
None. |
|
phone | string |
None. |
|
balance | decimal number |
None. |
|
fromService | boolean |
Required |
|
projectsCount | integer |
None. |
|
tariffId | integer |
Required |
|
tariff | string |
None. |
|
finishDate | date |
Required |
|
usePositionsForKeys | boolean |
None. |
|
partnerPercentage | integer |
None. |
|
referalBalance | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "email": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "joinDate": "2025-04-04T00:25:00.5196545+00:00", "phone": "sample string 6", "balance": 7.0, "fromService": true, "projectsCount": 9, "tariffId": 1, "tariff": "sample string 10", "finishDate": "2025-04-04T00:25:00.5196545+00:00", "usePositionsForKeys": true, "partnerPercentage": 13, "referalBalance": 14.0 }
application/xml, text/xml
Sample:
<SuperadminAdmins xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CraudWezom_v1.Models.Users"> <balance>7</balance> <email>sample string 2</email> <finishDate>2025-04-04T00:25:00.5196545+00:00</finishDate> <firstName>sample string 3</firstName> <fromService>true</fromService> <id>sample string 1</id> <joinDate>2025-04-04T00:25:00.5196545+00:00</joinDate> <lastName>sample string 4</lastName> <partnerPercentage>13</partnerPercentage> <phone>sample string 6</phone> <projectsCount>9</projectsCount> <referalBalance>14</referalBalance> <tariff>sample string 10</tariff> <tariffId>1</tariffId> <usePositionsForKeys>true</usePositionsForKeys> </SuperadminAdmins>
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.