88 Miles


Developer Documentation - Staff#update

XML URL
http://www.88miles.net/staff/[id].xml
JSON URL
http://www.88miles.net/staff/[id].json
Request method
PUT

Parameters

  • price_point_id
  • created_on
  • city
  • account_name
  • session_hash
  • postcode
  • expires
  • abn
  • updated_on
  • username
  • person_type
  • domain_id
  • country
  • id
  • billing_period
  • account_type
  • saasu_uid
  • referrer_code
  • password_hash
  • owner_id
  • time_zone
  • subscribed
  • first_name
  • use_ssl
  • time_zone_offset
  • last_name
  • eway_id
  • address
  • state
  • email_address
  • active

Example Query

staff[price_point_id]=8&staff[created_on]=Wed Jun 02 00:15:15 UTC 2010&staff[city]=&staff[account_name]=&staff[session_hash]=&staff[postcode]=&staff[expires]=&staff[abn]=&staff[updated_on]=Wed Jun 02 00:15:15 UTC 2010&staff[username]=Charley_1&staff[person_type]=staff&staff[domain_id]=&staff[country]=&staff[id]=5261&staff[billing_period]=&staff[account_type]=staff&staff[saasu_uid]=&staff[referrer_code]=&staff[password_hash]=73e9e30b1432afa479a279ff5960f273fabbd64a&staff[owner_id]=5256&staff[time_zone]=Australia/Perth&staff[subscribed]=1&staff[first_name]=Retta&staff[use_ssl]=false&staff[time_zone_offset]=8&staff[last_name]=Huels&staff[eway_id]=&staff[address]=&staff[state]=&staff[email_address]=marge_simonis@beahanolson.com&staff[active]=true

Return Status Codes

  • Not Found: 404 Not Found
  • Success: 200 Ok
  • Invalid Parameters: 422 Unprocessable Entity

Response Headers

  • Location: /staff/[new_id]