PUT api/People/{id}

Updates data for a Person on the server

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Person
NameDescriptionTypeAdditional information
id_person

integer

None.

id_merchant

integer

None.

first_name

string

None.

last_name

string

None.

middle_name

string

None.

id_person_type

integer

None.

dob

string

None.

address1

string

None.

address2

string

None.

city

string

None.

state

string

None.

zip

string

None.

country

integer

None.

phone

string

None.

mobile

string

None.

fax

string

None.

email

string

None.

updated_at

date

None.

created_at

date

None.

comment

string

None.

dba

string

None.

fk_height_lookup_id

integer

None.

fk_gender_lookup_id

integer

None.

fk_ethnicity_lookup_id

integer

None.

fk_haircolor_lookup_id

integer

None.

fk_build_lookup_id

integer

None.

fk_age_lookup_id

integer

None.

fk_document_type_lookup_id

integer

None.

document_number

string

None.

document_expiration_date

string

None.

club_number

string

None.

social_security_number

string

None.

social_security_number_entry_method

integer

None.

drivers_license_number

string

None.

drivers_license_expiration_date

string

None.

drivers_license_state

string

None.

id_ft2_customer

integer

None.

id_merge_parent

integer

None.

document_type

string

None.

document_country_id

integer

None.

external_id

string

None.

external_id_IGT

string

None.

external_id_Bally

integer

None.

playerCardID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id_person": 1,
  "id_merchant": 2,
  "first_name": "sample string 3",
  "last_name": "sample string 4",
  "middle_name": "sample string 5",
  "id_person_type": 1,
  "dob": "sample string 6",
  "address1": "sample string 7",
  "address2": "sample string 8",
  "city": "sample string 9",
  "state": "sample string 10",
  "zip": "sample string 11",
  "country": 1,
  "phone": "sample string 12",
  "mobile": "sample string 13",
  "fax": "sample string 14",
  "email": "sample string 15",
  "updated_at": "2018-11-13T21:07:55.2706122+00:00",
  "created_at": "2018-11-13T21:07:55.2706122+00:00",
  "comment": "sample string 16",
  "dba": "sample string 17",
  "fk_height_lookup_id": 1,
  "fk_gender_lookup_id": 1,
  "fk_ethnicity_lookup_id": 1,
  "fk_haircolor_lookup_id": 1,
  "fk_build_lookup_id": 1,
  "fk_age_lookup_id": 1,
  "fk_document_type_lookup_id": 1,
  "document_number": "sample string 18",
  "document_expiration_date": "sample string 19",
  "club_number": "sample string 20",
  "social_security_number": "sample string 21",
  "social_security_number_entry_method": 1,
  "drivers_license_number": "sample string 22",
  "drivers_license_expiration_date": "sample string 23",
  "drivers_license_state": "sample string 24",
  "id_ft2_customer": 1,
  "id_merge_parent": 1,
  "document_type": "sample string 25",
  "document_country_id": 1,
  "external_id": "sample string 26",
  "external_id_IGT": "sample string 27",
  "external_id_Bally": 1,
  "playerCardID": "sample string 28"
}

application/xml, text/xml

Sample:
<Person xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FABITrackAPI.Models">
  <address1>sample string 7</address1>
  <address2>sample string 8</address2>
  <city>sample string 9</city>
  <club_number>sample string 20</club_number>
  <comment>sample string 16</comment>
  <country>1</country>
  <created_at>2018-11-13T21:07:55.2706122+00:00</created_at>
  <dba>sample string 17</dba>
  <dob>sample string 6</dob>
  <document_country_id>1</document_country_id>
  <document_expiration_date>sample string 19</document_expiration_date>
  <document_number>sample string 18</document_number>
  <document_type>sample string 25</document_type>
  <drivers_license_expiration_date>sample string 23</drivers_license_expiration_date>
  <drivers_license_number>sample string 22</drivers_license_number>
  <drivers_license_state>sample string 24</drivers_license_state>
  <email>sample string 15</email>
  <external_id>sample string 26</external_id>
  <external_id_Bally>1</external_id_Bally>
  <external_id_IGT>sample string 27</external_id_IGT>
  <fax>sample string 14</fax>
  <first_name>sample string 3</first_name>
  <fk_age_lookup_id>1</fk_age_lookup_id>
  <fk_build_lookup_id>1</fk_build_lookup_id>
  <fk_document_type_lookup_id>1</fk_document_type_lookup_id>
  <fk_ethnicity_lookup_id>1</fk_ethnicity_lookup_id>
  <fk_gender_lookup_id>1</fk_gender_lookup_id>
  <fk_haircolor_lookup_id>1</fk_haircolor_lookup_id>
  <fk_height_lookup_id>1</fk_height_lookup_id>
  <id_ft2_customer>1</id_ft2_customer>
  <id_merchant>2</id_merchant>
  <id_merge_parent>1</id_merge_parent>
  <id_person>1</id_person>
  <id_person_type>1</id_person_type>
  <last_name>sample string 4</last_name>
  <middle_name>sample string 5</middle_name>
  <mobile>sample string 13</mobile>
  <phone>sample string 12</phone>
  <playerCardID>sample string 28</playerCardID>
  <social_security_number>sample string 21</social_security_number>
  <social_security_number_entry_method>1</social_security_number_entry_method>
  <state>sample string 10</state>
  <updated_at>2018-11-13T21:07:55.2706122+00:00</updated_at>
  <zip>sample string 11</zip>
</Person>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.