POST api/superadmin/customers
add new customer to system
Request Information
URI Parameters
None.
Body Parameters
SuperadminCustomersName | 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. |
|
projectsCount | 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:28:53.5625846+00:00", "phone": "sample string 6", "balance": 7.0, "projectsCount": 8, "referalBalance": 9.0 }
application/xml, text/xml
Sample:
<SuperadminCustomers 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> <firstName>sample string 3</firstName> <id>sample string 1</id> <joinDate>2025-04-04T00:28:53.5625846+00:00</joinDate> <lastName>sample string 4</lastName> <phone>sample string 6</phone> <projectsCount>8</projectsCount> <referalBalance>9</referalBalance> </SuperadminCustomers>
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.