PUT api/Users
Request Information
URI Parameters
None.
Body Parameters
UserEdit| Name | Description | Type | Additional information |
|---|---|---|---|
| DadName | string |
None. |
|
| NCode | string |
None. |
|
| Tel | string |
None. |
|
| Mobil | string |
None. |
|
| Shaba | string |
None. |
|
| TelegramNumber | string |
None. |
|
| Address | string |
None. |
|
| Password | string |
None. |
|
| string |
None. |
||
| BirthDay | date |
None. |
|
| PostalCode | string |
None. |
|
| StateId | integer |
None. |
|
| CityId | integer |
None. |
|
| Sex | integer |
None. |
|
| CardBank | string |
None. |
|
| Lat | decimal number |
None. |
|
| Long | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"DadName": "sample string 1",
"NCode": "sample string 2",
"Tel": "sample string 3",
"Mobil": "sample string 4",
"Shaba": "sample string 5",
"TelegramNumber": "sample string 6",
"Address": "sample string 7",
"Password": "sample string 8",
"Email": "sample string 9",
"BirthDay": "2026-01-31T00:40:00.2506759+03:30",
"PostalCode": "sample string 10",
"StateId": 1,
"CityId": 1,
"Sex": 1,
"CardBank": "sample string 11",
"Lat": 1.1,
"Long": 1.1
}
application/xml, text/xml
Sample:
<UserEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MohtashamApi.ModelView"> <Address>sample string 7</Address> <BirthDay>2026-01-31T00:40:00.2506759+03:30</BirthDay> <CardBank>sample string 11</CardBank> <CityId>1</CityId> <DadName>sample string 1</DadName> <Email>sample string 9</Email> <Lat>1.1</Lat> <Long>1.1</Long> <Mobil>sample string 4</Mobil> <NCode>sample string 2</NCode> <Password>sample string 8</Password> <PostalCode>sample string 10</PostalCode> <Sex>1</Sex> <Shaba>sample string 5</Shaba> <StateId>1</StateId> <Tel>sample string 3</Tel> <TelegramNumber>sample string 6</TelegramNumber> </UserEdit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
User| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| insertDateTime | date |
None. |
|
| updateDateTime | date |
None. |
|
| isActive | boolean |
None. |
|
| LName | string |
None. |
|
| FName | string |
None. |
|
| DadName | string |
None. |
|
| NCode | string |
None. |
|
| Tel | string |
None. |
|
| Mobil | string |
None. |
|
| TelegramNumber | string |
None. |
|
| Address | string |
None. |
|
| Password | string |
None. |
|
| string |
None. |
||
| BirthDay | date |
None. |
|
| PostalCode | string |
None. |
|
| PeopleCovered | integer |
None. |
|
| MobileConfirmation | boolean |
None. |
|
| MobileCode | string |
None. |
|
| EmailConfirmation | boolean |
None. |
|
| MobileCodeStart | date |
None. |
|
| MobileCodeEnd | date |
None. |
|
| CardNeed | boolean |
None. |
|
| SendCard | string |
None. |
|
| StartCustomer | date |
None. |
|
| EndCustomer | date |
None. |
|
| CityId | integer |
None. |
|
| Comment | string |
None. |
|
| AdminGroupId | integer |
None. |
|
| CompanyName | string |
None. |
|
| EconomicCode | string |
None. |
|
| NationalID | string |
None. |
|
| RegistrationNumber | string |
None. |
|
| CompanyTel | string |
None. |
|
| RegOnline | boolean |
None. |
|
| IsMarketer | boolean |
None. |
|
| MarketerId | integer |
None. |
|
| Sex | integer |
None. |
|
| CardBank | string |
None. |
|
| TypeJob | string |
None. |
|
| CrmCode | globally unique identifier |
None. |
|
| relationId | integer |
None. |
|
| LanguageId | integer |
None. |
|
| GroupUserId | integer |
None. |
|
| AutoQuoteCrm | boolean |
None. |
|
| CrmAccount | globally unique identifier |
None. |
|
| HowDidMeetUsId | integer |
None. |
|
| Avatar | string |
None. |
|
| PreventSale | boolean |
None. |
|
| ShowOrder | boolean |
None. |
|
| SalesLevelId | integer |
None. |
|
| MyMessengerId | integer |
None. |
|
| AdminGroup | AdminGroup |
None. |
|
| Answers | Collection of Answer |
None. |
|
| AskMeDetails | Collection of AskMeDetail |
None. |
|
| AskMeDetailSeens | Collection of AskMeDetailSeen |
None. |
|
| AskMes | Collection of AskMe |
None. |
|
| AskMes1 | Collection of AskMe |
None. |
|
| CafeNews | Collection of CafeNew |
None. |
|
| CafeNewsRatings | Collection of CafeNewsRating |
None. |
|
| City | City |
None. |
|
| CommentNews | Collection of CommentNew |
None. |
|
| CommentProCatPropertyItems | Collection of CommentProCatPropertyItem |
None. |
|
| CommentProductCats | Collection of CommentProductCat |
None. |
|
| DesignQueueDetails | Collection of DesignQueueDetail |
None. |
|
| DesignQueues | Collection of DesignQueue |
None. |
|
| DiscountCodeUsers | Collection of DiscountCodeUser |
None. |
|
| Factors | Collection of Factor |
None. |
|
| GroupUser | GroupUser |
None. |
|
| HowDidMeetU | HowDidMeetU |
None. |
|
| ImgUploads | Collection of ImgUpload |
None. |
|
| Language | Language |
None. |
|
| MyMessenger | MyMessenger |
None. |
|
| NewsRatingComments | Collection of NewsRatingComment |
None. |
|
| OfferRecords | Collection of OfferRecord |
None. |
|
| Pays | Collection of Pay |
None. |
|
| ProductComments | Collection of ProductComment |
None. |
|
| ProductNps | Collection of ProductNp |
None. |
|
| ProductRatings | Collection of ProductRating |
None. |
|
| ProductsFavourites | Collection of ProductsFavourite |
None. |
|
| Questions | Collection of Question |
None. |
|
| RegNewsletters | Collection of RegNewsletter |
None. |
|
| RequestMoneys | Collection of RequestMoney |
None. |
|
| SalesCommissionRates | Collection of SalesCommissionRate |
None. |
|
| SalesLevel | SalesLevel |
None. |
|
| ShopRates | Collection of ShopRate |
None. |
|
| Shops | Collection of Shop |
None. |
|
| Statistics | Collection of Statistic |
None. |
|
| Supports | Collection of Support |
None. |
|
| UserInformations | Collection of UserInformation |
None. |
|
| Users1 | Collection of User |
None. |
|
| User1 | User |
None. |
|
| WheelLuckHasWons | Collection of WheelLuckHasWon |
None. |
|
| WheelLuckNumberForUsers | Collection of WheelLuckNumberForUser |
None. |
|
| ProductCats | Collection of ProductCat |
None. |
|
| Author | Author |
None. |
|
| Carts | Collection of Cart |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.