POST api/User/Profile

Request Information

URI Parameters

None.

Body Parameters

UserProfileViewModel
NameDescriptionTypeAdditional information
Name

string

None.

Email

string

None.

DOB

date

None.

Phone

string

None.

Address

string

None.

City

string

None.

State

StateViewModel

None.

ZipCode

string

None.

IsCalendarLinked

boolean

None.

IsAccountLinked

boolean

None.

Password

string

None.

ConfirmPassword

string

None.

CalendarShares

Collection of CalendarShareViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "email": "sample string 2",
  "dob": "2025-12-09T23:05:15.3477029-05:00",
  "phone": "sample string 3",
  "address": "sample string 4",
  "city": "sample string 5",
  "state": {
    "stateID": 1,
    "stateName": "sample string 2",
    "stateAbvr": "sample string 3",
    "countryID": 4
  },
  "zipCode": "sample string 6",
  "isCalendarLinked": true,
  "isAccountLinked": true,
  "password": "sample string 9",
  "confirmPassword": "sample string 10",
  "calendarShares": [
    {
      "calendarShareID": 1,
      "fullName": "sample string 2",
      "nameAbvr": "sample string 3"
    },
    {
      "calendarShareID": 1,
      "fullName": "sample string 2",
      "nameAbvr": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<UserProfileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
  <Address>sample string 4</Address>
  <CalendarShares>
    <CalendarShareViewModel>
      <CalendarShareID>1</CalendarShareID>
      <FullName>sample string 2</FullName>
      <NameAbvr>sample string 3</NameAbvr>
    </CalendarShareViewModel>
    <CalendarShareViewModel>
      <CalendarShareID>1</CalendarShareID>
      <FullName>sample string 2</FullName>
      <NameAbvr>sample string 3</NameAbvr>
    </CalendarShareViewModel>
  </CalendarShares>
  <City>sample string 5</City>
  <ConfirmPassword>sample string 10</ConfirmPassword>
  <DOB>2025-12-09T23:05:15.3477029-05:00</DOB>
  <Email>sample string 2</Email>
  <IsAccountLinked>true</IsAccountLinked>
  <IsCalendarLinked>true</IsCalendarLinked>
  <Name>sample string 1</Name>
  <Password>sample string 9</Password>
  <Phone>sample string 3</Phone>
  <State>
    <CountryID>4</CountryID>
    <StateAbvr>sample string 3</StateAbvr>
    <StateID>1</StateID>
    <StateName>sample string 2</StateName>
  </State>
  <ZipCode>sample string 6</ZipCode>
</UserProfileViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.