POST api/signups/update?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

IterableUser
NameDescriptionTypeAdditional information
email

string

None.

userId

string

None.

signupDate

string

None.

dataFields

IterableUserDataFields

None.

preferUserId

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "userId": "sample string 2",
  "signupDate": "sample string 3",
  "dataFields": {
    "events": [
      {
        "eventID": 1,
        "dcipID": 2,
        "eventName": "sample string 3",
        "eventDate": "sample string 4"
      },
      {
        "eventID": 1,
        "dcipID": 2,
        "eventName": "sample string 3",
        "eventDate": "sample string 4"
      }
    ],
    "recievedPreferenceEmail": true,
    "birthDate": "sample string 2",
    "address": "sample string 3",
    "city": "sample string 4",
    "firstName": "sample string 5",
    "lastName": "sample string 6",
    "phone": "sample string 7",
    "state": "sample string 8",
    "zipcode": "sample string 9",
    "qLastSignup": "sample string 10",
    "genres": {
      "allEvents": true,
      "anime": true,
      "arts": true,
      "ballet": true,
      "bollywood": true,
      "broadway": true,
      "classics": true,
      "comedy": true,
      "documentaries": true,
      "horror": true,
      "inspirational": true,
      "kidsFamily": true,
      "metOpera": true,
      "music": true,
      "fandom": true,
      "premieres": true,
      "sports": true,
      "thirdParty": true,
      "tv": true,
      "newsletter": true,
      "faith": true
    },
    "optDown": "sample string 11",
    "sources": {
      "atomTickets": true,
      "facebookLeadAd": true,
      "fathomevents": true,
      "footer": true,
      "homepage": true,
      "popup": true,
      "preferenceCenter": true,
      "toneDen": true
    },
    "emailToken": "sample string 12"
  },
  "preferUserId": true
}

application/xml, text/xml

Sample:
<IterableUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FathomEvents.Models.Iterable">
  <dataFields>
    <address>sample string 3</address>
    <birthDate>sample string 2</birthDate>
    <city>sample string 4</city>
    <emailToken>sample string 12</emailToken>
    <events>
      <TheaterEvent>
        <dcipID>2</dcipID>
        <eventDate>sample string 4</eventDate>
        <eventID>1</eventID>
        <eventName>sample string 3</eventName>
      </TheaterEvent>
      <TheaterEvent>
        <dcipID>2</dcipID>
        <eventDate>sample string 4</eventDate>
        <eventID>1</eventID>
        <eventName>sample string 3</eventName>
      </TheaterEvent>
    </events>
    <firstName>sample string 5</firstName>
    <genres>
      <allEvents>true</allEvents>
      <anime>true</anime>
      <arts>true</arts>
      <ballet>true</ballet>
      <bollywood>true</bollywood>
      <broadway>true</broadway>
      <classics>true</classics>
      <comedy>true</comedy>
      <documentaries>true</documentaries>
      <faith>true</faith>
      <fandom>true</fandom>
      <horror>true</horror>
      <inspirational>true</inspirational>
      <kidsFamily>true</kidsFamily>
      <metOpera>true</metOpera>
      <music>true</music>
      <newsletter>true</newsletter>
      <premieres>true</premieres>
      <sports>true</sports>
      <thirdParty>true</thirdParty>
      <tv>true</tv>
    </genres>
    <lastName>sample string 6</lastName>
    <optDown>sample string 11</optDown>
    <phone>sample string 7</phone>
    <qLastSignup>sample string 10</qLastSignup>
    <recievedPreferenceEmail>true</recievedPreferenceEmail>
    <sources>
      <atomTickets>true</atomTickets>
      <facebookLeadAd>true</facebookLeadAd>
      <fathomevents>true</fathomevents>
      <footer>true</footer>
      <homepage>true</homepage>
      <popup>true</popup>
      <preferenceCenter>true</preferenceCenter>
      <toneDen>true</toneDen>
    </sources>
    <state>sample string 8</state>
    <zipcode>sample string 9</zipcode>
  </dataFields>
  <email>sample string 1</email>
  <preferUserId>true</preferUserId>
  <signupDate>sample string 3</signupDate>
  <userId>sample string 2</userId>
</IterableUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>