About SendMessage
Bill.com allows the option to create private internal notes among organization users or public facing notes to and from Bill.com Network connections.
Notes can be created on the following pages:
- Vendors
- Bills
- Vendor Credits
- Customers
- Invoices
- Invoice Credits
Example
Request
<API End Point URL>/SendMessage.json
data={
"objectId" : "00n01TUPMWVLJHJUR1mg",
"message" : "message text",
"isPublic" : false
}
Response
{
"response_status" : 0,
"response_message" : "Success",
"response_data" : [ {
"entity" : "Message",
"id" : "act01QYSTNGJNYXxo57v",
"objectId" : "00n01TUPMWVLJHJUR1mg",
"message" : "this is a private message for [~00601TGDFFSIBFXKAQV2]",
"isPublic" : false,
"createdDate" : "2016-10-03T22:36:36.000+0000",
"usersId" : "00601YWDIZDIIHMAoyqc",
"from" : {
"usersOrgName" : "sOshiology Music Company",
"usersFirstName" : "Ezra",
"usersLastName" : "Lam"
}
}
}
Resources
- Vendors
- Payable Transactions
- Send note to vendor
- Customers
- Receivable Transactions
- Send note to customer
Parameters
Field Name | Description | Required? |
---|---|---|
objectID | Parent object id of message. | Yes |
message | Message text. To tag a user submit [~userid] | Yes |
isPublic | Default = false. If Customer/Vendor is in Network, message is visible. | No |