POST api/OnlineUser
Request Information
URI Parameters
None.
Body Parameters
OnlineUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Mobile | string |
None. |
|
| NationalCode | string |
None. |
|
| UserAddress | string |
None. |
|
| PostalCode | string |
None. |
|
| Pass | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Mobile": "sample string 3",
"NationalCode": "sample string 4",
"UserAddress": "sample string 5",
"PostalCode": "sample string 6",
"Pass": "sample string 7"
}
application/xml, text/xml
Sample:
<OnlineUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NoghostarModels.Models"> <Id>1</Id> <Mobile>sample string 3</Mobile> <Name>sample string 2</Name> <NationalCode>sample string 4</NationalCode> <Pass>sample string 7</Pass> <PostalCode>sample string 6</PostalCode> <UserAddress>sample string 5</UserAddress> </OnlineUserModel>
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.