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

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

Example Query

staff[time_zone_offset]=8&staff[city]=&staff[address]=&staff[subscriber_key]=58ad34d5031fbf17e9e5158e03cf982fd8f3b2e4&staff[payment_failure_count]=0&staff[title]=&staff[price_point_id]=8&staff[postcode]=&staff[expires]=&staff[created_on]=Wed May 16 06:53:48 UTC 2012&staff[country]=&staff[abn]=&staff[session_hash]=&staff[billing_period]=&staff[username]=Kaelyn_1&staff[person_type]=staff&staff[domain_id]=&staff[updated_on]=Wed May 16 06:53:48 UTC 2012&staff[owner_id]=7559&staff[id]=7564&staff[credit]=0&staff[account_type]=staff&staff[next_payment]=&staff[last_name]=Hyatt&staff[eway_id]=&staff[time_zone]=Australia/Perth&staff[subscribed]=1&staff[saasu_uid]=&staff[referrer_code]=&staff[email_address]=marge_simonis@beahanolson.com&staff[use_ssl]=false&staff[password_hash]=73e9e30b1432afa479a279ff5960f273fabbd64a&staff[account_name]=&staff[state]=&staff[first_name]=Jody&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]