Skip to content

Instantly share code, notes, and snippets.

@mattneary
Created December 4, 2013 17:22
Show Gist options
  • Save mattneary/7791667 to your computer and use it in GitHub Desktop.
Save mattneary/7791667 to your computer and use it in GitHub Desktop.
API docs

Group (appname: auth)

  • /api/group/ - returns a list of first 20 groups
  • /api/group/?start=0 - returns a list of first 20 groups
  • /api/group/?start=10 - returns a list of 20 groups starting from 10th group
  • /api/group/?start=10&count=30 - returns a list of 30 groups starting from 10th group
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/group/ - returns the group with id ex: /api/group/1 - returns the group with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/group/?count=1&start=1 6 2 California Basic Subscription

User (appname: auth)

  • /api/user/ - returns a list of first 20 users
  • /api/user/?start=0 - returns a list of first 20 users
  • /api/user/?start=10 - returns a list of 20 users starting from 10th user
  • /api/user/?start=10&count=30 - returns a list of 30 users starting from 10th user
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/user/ - returns the user with id ex: /api/user/1 - returns the user with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/user/?count=1&start=1 4426 vpetraro Vincent Petraro True [email protected] False False 2009-04-20 02:59:21.622087 sha1$9c2b0$43e0a290e92fa997d01c98a0e34810821ff11f61 41 2009-04-20 02:59:21.622087

Site (appname: sites)

  • /api/site/ - returns a list of first 20 sites
  • /api/site/?start=0 - returns a list of first 20 sites
  • /api/site/?start=10 - returns a list of 20 sites starting from 10th site
  • /api/site/?start=10&count=30 - returns a list of 30 sites starting from 10th site
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/site/ - returns the site with id ex: /api/site/1 - returns the site with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/site/?count=1&start=1 4 www.govbuddy.com 1 GovBuddy

State_Directories (appname: directory)

  • /api/state_directories/ - returns a list of first 20 state_directoriess
  • /api/state_directories/?start=0 - returns a list of first 20 state_directoriess
  • /api/state_directories/?start=10 - returns a list of 20 state_directoriess starting from 10th state_directories
  • /api/state_directories/?start=10&count=30 - returns a list of 30 state_directoriess starting from 10th state_directories
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/state_directories/ - returns the state_directories with id ex: /api/state_directories/1 - returns the state_directories with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

CA 1 http://www.govbuddy.com/api/state_directories/?count=1&start=1 4

District (appname: directory)

  • /api/district/ - returns a list of first 20 districts
  • /api/district/?start=0 - returns a list of first 20 districts
  • /api/district/?start=10 - returns a list of 20 districts starting from 10th district
  • /api/district/?start=10&count=30 - returns a list of 30 districts starting from 10th district
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/district/ - returns the district with id ex: /api/district/1 - returns the district with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

1 CA CH 333 http://www.govbuddy.com/api/district/?count=1&start=1 969

District_Map (appname: directory)

  • /api/district_map/ - returns a list of first 20 district_maps
  • /api/district_map/?start=0 - returns a list of first 20 district_maps
  • /api/district_map/?start=10 - returns a list of 20 district_maps starting from 10th district_map
  • /api/district_map/?start=10&count=30 - returns a list of 30 district_maps starting from 10th district_map
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/district_map/ - returns the district_map with id ex: /api/district_map/1 - returns the district_map with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

MULTIPOLYGON (((-118.3090020000000067 33.8726150000000032, -118.3088699999999847 .....))) 28 28 969 http://www.govbuddy.com/api/district_map/?count=1&start=1

District_Counties (appname: directory)

  • /api/district_counties/ - returns a list of first 20 district_countiess
  • /api/district_counties/?start=0 - returns a list of first 20 district_countiess
  • /api/district_counties/?start=10 - returns a list of 20 district_countiess starting from 10th district_counties
  • /api/district_counties/?start=10&count=30 - returns a list of 30 district_countiess starting from 10th district_counties
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/district_counties/ - returns the district_counties with id ex: /api/district_counties/1 - returns the district_counties with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

1 1 http://www.govbuddy.com/api/district_counties/?count=1&start=1 969

District_Zip_Codes (appname: directory)

  • /api/district_zip_codes/ - returns a list of first 20 district_zip_codess
  • /api/district_zip_codes/?start=0 - returns a list of first 20 district_zip_codess
  • /api/district_zip_codes/?start=10 - returns a list of 20 district_zip_codess starting from 10th district_zip_codes
  • /api/district_zip_codes/?start=10&count=30 - returns a list of 30 district_zip_codess starting from 10th district_zip_codes
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/district_zip_codes/ - returns the district_zip_codes with id ex: /api/district_zip_codes/1 - returns the district_zip_codes with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/district_zip_codes/?count=1&start=1 969 1 1

Capitol_Offices (appname: directory)

  • /api/capitol_offices/ - returns a list of first 20 capitol_officess
  • /api/capitol_offices/?start=0 - returns a list of first 20 capitol_officess
  • /api/capitol_offices/?start=10 - returns a list of 20 capitol_officess starting from 10th capitol_offices
  • /api/capitol_offices/?start=10&count=30 - returns a list of 30 capitol_officess starting from 10th capitol_offices
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/capitol_offices/ - returns the capitol_offices with id ex: /api/capitol_offices/1 - returns the capitol_offices with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/capitol_offices/?count=1&start=1 17 Washington CH DC Cannon House Office Building 1st & Independence Ave SE 1 20515

Representative (appname: directory)

  • /api/representative/ - returns a list of first 20 representatives
  • /api/representative/?start=0 - returns a list of first 20 representatives
  • /api/representative/?start=10 - returns a list of 20 representatives starting from 10th representative
  • /api/representative/?start=10&count=30 - returns a list of 30 representatives starting from 10th representative
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/representative/ - returns the representative with id ex: /api/representative/1 - returns the representative with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/representative/?count=1&start=1 964 Aanestad [email protected]

images/legislators/CA/Sam-Aanestad.jpg Susan UCLA, Golden Gate Univ. 3343 Sam Bismarck, ND CA SS R [email protected] 4 http://republican.sen.ca.gov/web/4/ 916-445-7750 Oral Surgeon M 916-651-4004 2009-03-29 images/legislators/thumbs/CA/Sam-Aanestad.thumb.jpg 3063 2010-02-25 M 3 children 4 Elec A 1998/Elec S 2002 images/legislators/email/CA/Sam-Aanestad.png Grass Valley 1946-07-16 2010

Attachments (appname: directory)

  • /api/attachments/ - returns a list of first 20 attachmentss
  • /api/attachments/?start=0 - returns a list of first 20 attachmentss
  • /api/attachments/?start=10 - returns a list of 20 attachmentss starting from 10th attachments
  • /api/attachments/?start=10&count=30 - returns a list of 30 attachmentss starting from 10th attachments
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/attachments/ - returns the attachments with id ex: /api/attachments/1 - returns the attachments with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/attachments/?count=1&start=1 288 View Our Exclusive Profile 2009-04-02 12:21:57.191564 documents/S04_Aanestad.pdf 2009-04-02 12:21:57.191530 3343 223

Press_Releases (appname: directory)

  • /api/press_releases/ - returns a list of first 20 press_releasess
  • /api/press_releases/?start=0 - returns a list of first 20 press_releasess
  • /api/press_releases/?start=10 - returns a list of 20 press_releasess starting from 10th press_releases
  • /api/press_releases/?start=10&count=30 - returns a list of 30 press_releasess starting from 10th press_releases
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/press_releases/ - returns the press_releases with id ex: /api/press_releases/1 - returns the press_releases with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/press_releases/?count=1&start=1 6870 Bully Bureaucrat Hotline Now Up on Senate Website .......... <title> Aanestad Update: March 2010 </title> 2010-04-01 11:15:54.542372 2010-04-01 2010-04-01 11:15:54.542309 3343 6242

Links (appname: directory)

  • /api/links/ - returns a list of first 20 linkss
  • /api/links/?start=0 - returns a list of first 20 linkss
  • /api/links/?start=10 - returns a list of 20 linkss starting from 10th links
  • /api/links/?start=10&count=30 - returns a list of 30 linkss starting from 10th links
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/links/ - returns the links with id ex: /api/links/1 - returns the links with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/links/?count=1&start=1 1667 Official Biography 2010-03-18 10:41:54.350173 http://www.nysenate.gov/senator/jose-peralta/bio 2010-03-18 10:41:54.350098 2771 2347

District_Offices (appname: directory)

  • /api/district_offices/ - returns a list of first 20 district_officess
  • /api/district_offices/?start=0 - returns a list of first 20 district_officess
  • /api/district_offices/?start=10 - returns a list of 20 district_officess starting from 10th district_offices
  • /api/district_offices/?start=10&count=30 - returns a list of 30 district_officess starting from 10th district_offices
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/district_offices/ - returns the district_offices with id ex: /api/district_offices/1 - returns the district_offices with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/district_offices/?count=1&start=1 Abington 215-517-6828 1 215-517-6800 PA 1175 Old York Rd. 3359 4010 19001 1367

Interests (appname: directory)

  • /api/interests/ - returns a list of first 20 interestss
  • /api/interests/?start=0 - returns a list of first 20 interestss
  • /api/interests/?start=10 - returns a list of 20 interestss starting from 10th interests
  • /api/interests/?start=10&count=30 - returns a list of 30 interestss starting from 10th interests
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/interests/ - returns the interests with id ex: /api/interests/1 - returns the interests with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/interests/?count=1&start=1 1 Water 1296

SubParty (appname: directory)

  • /api/subparty/ - returns a list of first 20 subpartys
  • /api/subparty/?start=0 - returns a list of first 20 subpartys
  • /api/subparty/?start=10 - returns a list of 20 subpartys starting from 10th subparty
  • /api/subparty/?start=10&count=30 - returns a list of 30 subpartys starting from 10th subparty
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/subparty/ - returns the subparty with id ex: /api/subparty/1 - returns the subparty with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/subparty/?count=1&start=1 17 C-I 8 C-I

Committee_Offices (appname: directory)

  • /api/committee_offices/ - returns a list of first 20 committee_officess
  • /api/committee_offices/?start=0 - returns a list of first 20 committee_officess
  • /api/committee_offices/?start=10 - returns a list of 20 committee_officess starting from 10th committee_offices
  • /api/committee_offices/?start=10&count=30 - returns a list of 30 committee_officess starting from 10th committee_offices
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/committee_offices/ - returns the committee_offices with id ex: /api/committee_offices/1 - returns the committee_offices with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/committee_offices/?count=1&start=1 10 Sacramento CA 1130 K. St., 4th Fl. 1 95814

Committee_Positions (appname: directory)

  • /api/committee_positions/ - returns a list of first 20 committee_positionss
  • /api/committee_positions/?start=0 - returns a list of first 20 committee_positionss
  • /api/committee_positions/?start=10 - returns a list of 20 committee_positionss starting from 10th committee_positions
  • /api/committee_positions/?start=10&count=30 - returns a list of 30 committee_positionss starting from 10th committee_positions
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/committee_positions/ - returns the committee_positions with id ex: /api/committee_positions/1 - returns the committee_positions with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

0 SrPolAn 184 Senior Policy Analyst 30 http://www.govbuddy.com/api/committee_positions/?count=1&start=1

Committees (appname: directory)

  • /api/committees/ - returns a list of first 20 committeess
  • /api/committees/?start=0 - returns a list of first 20 committeess
  • /api/committees/?start=10 - returns a list of 20 committeess starting from 10th committees
  • /api/committees/?start=10&count=30 - returns a list of 30 committeess starting from 10th committees
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/committees/ - returns the committees with id ex: /api/committees/1 - returns the committees with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/committees/?count=1&start=1 2010-02-16 9-1-1 Service None 0 None 916-319-2001 None CA SA 2009-11-23 Select 6074 Rm 2176 941

Committee_Members (appname: directory)

  • /api/committee_members/ - returns a list of first 20 committee_memberss
  • /api/committee_members/?start=0 - returns a list of first 20 committee_memberss
  • /api/committee_members/?start=10 - returns a list of 20 committee_memberss starting from 10th committee_members
  • /api/committee_members/?start=10&count=30 - returns a list of 30 committee_memberss starting from 10th committee_members
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/committee_members/ - returns the committee_members with id ex: /api/committee_members/1 - returns the committee_members with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

159 1 2726 2762 5592 http://www.govbuddy.com/api/committee_members/?count=1&start=1 6999

Staff_Position (appname: directory)

  • /api/staff_position/ - returns a list of first 20 staff_positions
  • /api/staff_position/?start=0 - returns a list of first 20 staff_positions
  • /api/staff_position/?start=10 - returns a list of 20 staff_positions starting from 10th staff_position
  • /api/staff_position/?start=10&count=30 - returns a list of 30 staff_positions starting from 10th staff_position
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/staff_position/ - returns the staff_position with id ex: /api/staff_position/1 - returns the staff_position with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/staff_position/?count=1&start=1 281 1 ActCS 2592 Acting Chief of Staff

Staff (appname: directory)

  • /api/staff/ - returns a list of first 20 staffs
  • /api/staff/?start=0 - returns a list of first 20 staffs
  • /api/staff/?start=10 - returns a list of 20 staffs starting from 10th staff
  • /api/staff/?start=10&count=30 - returns a list of 30 staffs starting from 10th staff
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/staff/ - returns the staff with id ex: /api/staff/1 - returns the staff with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/staff/?count=1&start=1 6647 Aspree [email protected] 2210

Norlyn 42746 CA 1 [email protected] 2243 2010-02-02 images/staff/email/CA/Norlyn-Aspree.png None 2010-02-02

Representative_Staff (appname: directory)

  • /api/representative_staff/ - returns a list of first 20 representative_staffs
  • /api/representative_staff/?start=0 - returns a list of first 20 representative_staffs
  • /api/representative_staff/?start=10 - returns a list of 20 representative_staffs starting from 10th representative_staff
  • /api/representative_staff/?start=10&count=30 - returns a list of 30 representative_staffs starting from 10th representative_staff
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/representative_staff/ - returns the representative_staff with id ex: /api/representative_staff/1 - returns the representative_staff with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/representative_staff/?count=1&start=1 5653 None 40570 2941 35494

Chief_of_Staff (appname: directory)

  • /api/chief_of_staff/ - returns a list of first 20 chief_of_staffs
  • /api/chief_of_staff/?start=0 - returns a list of first 20 chief_of_staffs
  • /api/chief_of_staff/?start=10 - returns a list of 20 chief_of_staffs starting from 10th chief_of_staff
  • /api/chief_of_staff/?start=10&count=30 - returns a list of 30 chief_of_staffs starting from 10th chief_of_staff
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/chief_of_staff/ - returns the chief_of_staff with id ex: /api/chief_of_staff/1 - returns the chief_of_staff with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

0

Committee_Staff (appname: directory)

  • /api/committee_staff/ - returns a list of first 20 committee_staffs
  • /api/committee_staff/?start=0 - returns a list of first 20 committee_staffs
  • /api/committee_staff/?start=10 - returns a list of 20 committee_staffs starting from 10th committee_staff
  • /api/committee_staff/?start=10&count=30 - returns a list of 30 committee_staffs starting from 10th committee_staff
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/committee_staff/ - returns the committee_staff with id ex: /api/committee_staff/1 - returns the committee_staff with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/committee_staff/?count=1&start=1 964 43334 1 6239 5177

Change_Log (appname: directory)

  • /api/change_log/ - returns a list of first 20 change_logs
  • /api/change_log/?start=0 - returns a list of first 20 change_logs
  • /api/change_log/?start=10 - returns a list of 20 change_logs starting from 10th change_log
  • /api/change_log/?start=10&count=30 - returns a list of 30 change_logs starting from 10th change_log
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/change_log/ - returns the change_log with id ex: /api/change_log/1 - returns the change_log with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

<title> None </title> 2009-03-29 CA Capitol Director <a href="/directory/staff/CA/dinora-ramirez/35571/">Dinora Ramirez</a> was added to legislator <a href="/directory/CA/abel-maldonado/2932/">Abel Maldonado's</a> staff. None 2009-03-29 196230 23770 http://www.govbuddy.com/api/change_log/?count=1&start=1

Subscription (appname: subscriptions)

  • /api/subscription/ - returns a list of first 20 subscriptions
  • /api/subscription/?start=0 - returns a list of first 20 subscriptions
  • /api/subscription/?start=10 - returns a list of 20 subscriptions starting from 10th subscription
  • /api/subscription/?start=10&count=30 - returns a list of 30 subscriptions starting from 10th subscription
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/subscription/ - returns the subscription with id ex: /api/subscription/1 - returns the subscription with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/subscription/?count=1&start=1 10 California Monthly Basic Subscription 2009-08-23 16:44:34.601141 1 months 2009-08-23 16:44:34.601071 2 1

Online_Subscription (appname: subscriptions)

  • /api/online_subscription/ - returns a list of first 20 online_subscriptions
  • /api/online_subscription/?start=0 - returns a list of first 20 online_subscriptions
  • /api/online_subscription/?start=10 - returns a list of 20 online_subscriptions starting from 10th online_subscription
  • /api/online_subscription/?start=10&count=30 - returns a list of 30 online_subscriptions starting from 10th online_subscription
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/online_subscription/ - returns the online_subscription with id ex: /api/online_subscription/1 - returns the online_subscription with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/online_subscription/?count=1&start=1 A one time subscription fee that gives you full access to the online directory for a full year from date of purchase. Opt-in renewal, annual savings of $24 compared to the monthly option. 2009-11-02 11:23:46.756673 99.95 2 2009-08-23 20:02:38.670299 5 False 5 8

User_Subscription (appname: subscriptions)

  • /api/user_subscription/ - returns a list of first 20 user_subscriptions
  • /api/user_subscription/?start=0 - returns a list of first 20 user_subscriptions
  • /api/user_subscription/?start=10 - returns a list of 20 user_subscriptions starting from 10th user_subscription
  • /api/user_subscription/?start=10&count=30 - returns a list of 30 user_subscriptions starting from 10th user_subscription
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/user_subscription/ - returns the user_subscription with id ex: /api/user_subscription/1 - returns the user_subscription with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/user_subscription/?count=1&start=1 4242 6 2010-02-04 2009-02-04 1 False True 2009-02-04 1 1

Activation_Codes (appname: subscriptions)

  • /api/activation_codes/ - returns a list of first 20 activation_codess
  • /api/activation_codes/?start=0 - returns a list of first 20 activation_codess
  • /api/activation_codes/?start=10 - returns a list of 20 activation_codess starting from 10th activation_codes
  • /api/activation_codes/?start=10&count=30 - returns a list of 30 activation_codess starting from 10th activation_codes
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/activation_codes/ - returns the activation_codes with id ex: /api/activation_codes/1 - returns the activation_codes with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

C61A-C32C-7EB7 2009-12-31 2009-08-30 True False 3 382 http://www.govbuddy.com/api/activation_codes/?count=1&start=1 537

TrailSubscriptionEmail (appname: subscriptions)

  • /api/trailsubscriptionemail/ - returns a list of first 20 trailsubscriptionemails
  • /api/trailsubscriptionemail/?start=0 - returns a list of first 20 trailsubscriptionemails
  • /api/trailsubscriptionemail/?start=10 - returns a list of 20 trailsubscriptionemails starting from 10th trailsubscriptionemail
  • /api/trailsubscriptionemail/?start=10&count=30 - returns a list of 30 trailsubscriptionemails starting from 10th trailsubscriptionemail
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/trailsubscriptionemail/ - returns the trailsubscriptionemail with id ex: /api/trailsubscriptionemail/1 - returns the trailsubscriptionemail with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

True 2 [email protected] http://www.govbuddy.com/api/trailsubscriptionemail/?count=1&start=1 3971

Pricing_Group (appname: pricing)

  • /api/pricing_group/ - returns a list of first 20 pricing_groups
  • /api/pricing_group/?start=0 - returns a list of first 20 pricing_groups
  • /api/pricing_group/?start=10 - returns a list of 20 pricing_groups starting from 10th pricing_group
  • /api/pricing_group/?start=10&count=30 - returns a list of 30 pricing_groups starting from 10th pricing_group
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/pricing_group/ - returns the pricing_group with id ex: /api/pricing_group/1 - returns the pricing_group with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/pricing_group/?count=1&start=1 1 CA - Pocket Directories 9

Discount (appname: pricing)

  • /api/discount/ - returns a list of first 20 discounts
  • /api/discount/?start=0 - returns a list of first 20 discounts
  • /api/discount/?start=10 - returns a list of 20 discounts starting from 10th discount
  • /api/discount/?start=10&count=30 - returns a list of 30 discounts starting from 10th discount
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/discount/ - returns the discount with id ex: /api/discount/1 - returns the discount with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

12.55 1 2 11 71 http://www.govbuddy.com/api/discount/?count=1&start=1

Tax_Rate (appname: taxes)

  • /api/tax_rate/ - returns a list of first 20 tax_rates
  • /api/tax_rate/?start=0 - returns a list of first 20 tax_rates
  • /api/tax_rate/?start=10 - returns a list of 20 tax_rates starting from 10th tax_rate
  • /api/tax_rate/?start=10&count=30 - returns a list of 30 tax_rates starting from 10th tax_rate
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/tax_rate/ - returns the tax_rate with id ex: /api/tax_rate/1 - returns the tax_rate with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/tax_rate/?count=1&start=1 2 CA 1 8.75

Order_History (appname: store)

  • /api/order_history/ - returns a list of first 20 order_historys
  • /api/order_history/?start=0 - returns a list of first 20 order_historys
  • /api/order_history/?start=10 - returns a list of 20 order_historys starting from 10th order_history
  • /api/order_history/?start=10&count=30 - returns a list of 30 order_historys starting from 10th order_history
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/order_history/ - returns the order_history with id ex: /api/order_history/1 - returns the order_history with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/order_history/?count=1&start=1 sarah browne gAJ9cQEoVQxjdXJyZW50X3NpdGVxAmNkamFuZ28uY ..... 28 518-474-3840 2009-09-28 07:39:26.056437 [email protected] 2627124995 226

Product_Category (appname: store)

  • /api/product_category/ - returns a list of first 20 product_categorys
  • /api/product_category/?start=0 - returns a list of first 20 product_categorys
  • /api/product_category/?start=10 - returns a list of 20 product_categorys starting from 10th product_category
  • /api/product_category/?start=10&count=30 - returns a list of 30 product_categorys starting from 10th product_category
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/product_category/ - returns the product_category with id ex: /api/product_category/1 - returns the product_category with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/product_category/?count=1&start=1 None 1 1 California Legislature 35

Products (appname: store)

  • /api/products/ - returns a list of first 20 productss
  • /api/products/?start=0 - returns a list of first 20 productss
  • /api/products/?start=10 - returns a list of 20 productss starting from 10th products
  • /api/products/?start=10&count=30 - returns a list of 30 productss starting from 10th products
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/products/ - returns the products with id ex: /api/products/1 - returns the products with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/products/?count=1&start=1 48 Available in March 2010 1 2010 Pocket Directory of the Ohio Legislature 2009-12-18 13:47:22.097829 images/products/OH2010PkDir__.JPG

images/products/OH2010PkDir__.JPG 8 3 13.95 Pocket size directory of the Ohio Legislature. 2009-12-17 23:04:07.514391 images/products/web/OH2010PkDir__.JPG True images/products/thumbs/OH2010PkDir__.JPG None 20 50 2.00 <p><span class="Apple-style-span" style="widows: 2; ......

Contact_Info (appname: core)

  • /api/contact_info/ - returns a list of first 20 contact_infos
  • /api/contact_info/?start=0 - returns a list of first 20 contact_infos
  • /api/contact_info/?start=10 - returns a list of 20 contact_infos starting from 10th contact_info
  • /api/contact_info/?start=10&count=30 - returns a list of 30 contact_infos starting from 10th contact_info
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/contact_info/ - returns the contact_info with id ex: /api/contact_info/1 - returns the contact_info with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

0

CustomerProfile (appname: core)

  • /api/customerprofile/ - returns a list of first 20 customerprofiles
  • /api/customerprofile/?start=0 - returns a list of first 20 customerprofiles
  • /api/customerprofile/?start=10 - returns a list of 20 customerprofiles starting from 10th customerprofile
  • /api/customerprofile/?start=10&count=30 - returns a list of 30 customerprofiles starting from 10th customerprofile
    • "count" is the number of items to be returned, from the position equal to "start" value.

response xml of each of the above api will have 'next' & 'previous' tags corresponding to the links for next & previous records and also a 'total' tag corresponding to totatl number of records available

  • /api/customerprofile/ - returns the customerprofile with id ex: /api/customerprofile/1 - returns the customerprofile with id 1 returns a 'Not Found' page for a non existing value of id

SAMPLE XML

http://www.govbuddy.com/api/customerprofile/?count=1&start=1 228 110 1 123456789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment