POST api/v1/UserHeader/post/{user_id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
user_id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserHeaderBLName | Description | Type | Additional information |
---|---|---|---|
userName | string |
None. |
|
name | string |
None. |
|
surname | string |
None. |
|
count_cart | integer |
None. |
|
count_favorites | integer |
None. |
|
cookies_header | string |
None. |
|
duration_sp | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "userName": "sample string 1", "name": "sample string 2", "surname": "sample string 3", "count_cart": 4, "count_favorites": 5, "cookies_header": "sample string 6", "duration_sp": 7.1 }
text/plain, application/octet-stream
Sample:
{"userName":"sample string 1","name":"sample string 2","surname":"sample string 3","count_cart":4,"count_favorites":5,"cookies_header":"sample string 6","duration_sp":7.1}
application/xml, text/xml
Sample:
<UserHeaderBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Customer.BL.Models"> <cookies_header>sample string 6</cookies_header> <count_cart>4</count_cart> <count_favorites>5</count_favorites> <duration_sp>7.1</duration_sp> <name>sample string 2</name> <surname>sample string 3</surname> <userName>sample string 1</userName> </UserHeaderBL>
text/javascript, application/javascript, application/json-p
Sample:
({"userName":"sample string 1","name":"sample string 2","surname":"sample string 3","count_cart":4,"count_favorites":5,"cookies_header":"sample string 6","duration_sp":7.1});