About GetObjectUrl
This API returns a URL of an Object ID in the Bill.com account.
When a link is needed to a Bill.com object, this API constructs the link. The link can be placed within the developer's application.
If user is not logged in when clicking the URL, the login page is displayed. On successful login, the user sees the page with the object details.
Example
Request
<API_URL_EndPoint>/GetObjectUrl.json
data={
"objectId" : "00801QBFUNDNWTIUAa2r"
}
Response
{
"response_status" : 0,
"response_message" : "Success",
"response_data" : {
"url" : "https://app.bill.com/Organization?id=00801QBFUNDNWTIUAa2r"
}
}
Parameters
Field Name | Description | Required? |
---|---|---|
objectId | ID of the object (Vendor, Customer, Bill, Invoice, etc.) | Yes |