POST api/users/user/{userId}/updateDateOfBirth
Update date of birth.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
User ID. |
integer |
Required |
Body Parameters
Date of birth.
SimpleDateTime| Name | Description | Type | Additional information |
|---|---|---|---|
| Year |
The year (1 through 9999), default is 1900. |
integer |
None. |
| Month |
The month (1 through 12), default is 01. |
integer |
None. |
| Day |
The day (1 through the number of days in month), default is 1. |
integer |
None. |
| Hour |
The hours (0 through 23), default is 0. |
integer |
None. |
| Minute |
The minutes (0 through 59), default is 0. |
integer |
None. |
| Second |
The seconds (0 through 59), default is 0. |
integer |
None. |
| Millisecond |
The milliseconds (0 through 999), default is 0. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Year": 1,
"Month": 2,
"Day": 3,
"Hour": 4,
"Minute": 5,
"Second": 6,
"Millisecond": 7
}
application/xml, text/xml
Sample:
<SimpleDateTime xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Year>1</Year> <Month>2</Month> <Day>3</Day> <Hour>4</Hour> <Minute>5</Minute> <Second>6</Second> <Millisecond>7</Millisecond> </SimpleDateTime>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenericResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| HttpStatusCode | HttpStatusCode |
None. |
|
| HttpStatus | string |
None. |
|
| Status | string |
None. |
|
| Description | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"HttpStatusCode": 100,
"HttpStatus": "Continue",
"Status": "sample string 1",
"Description": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<GenericResponseMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HttpStatusCode>Continue</HttpStatusCode> <Status>sample string 1</Status> <Description>sample string 2</Description> <Data>sample string 3</Data> </GenericResponseMessage>
