About ListOrgs
Lists the organizations that the current user has permission to access.
Example
Request
<API_URL_EndPoint>/ListOrgs.json
Note: Do not put the username, password, and devKey in the data { } envelope. They need to be in body of the call.
userName=<user_name>&password=<password>&devKey=<dev_key>
Response
{
"response_status" : 0,
"response_message" : "Success",
"response_data" :
[{
"orgId" : "00801NYKJUYQGORGID1",
"orgName" : "Ceribelli Associates"
},
{
"orgId" : "00801ZKGVCJAAORGID2",
"orgName" : "Matisse Design"
}]
}
Parameters
Request parameters
Field Name | Description | Required? |
---|---|---|
userName | The email that is used to login to the Bill.com account. | Yes |
password | The password that is used to login to the Bill.com account. | Yes |
devKey | The developer key that was shared when API access was provisioned. | Yes |