Returns a list off all customer notes linked to this customerID which is linked to the logged in account
GET https://api.billagain.com/v1/customers/{customerID}/customernotes
Parameter | Format | Description |
---|---|---|
customerID req | Numeric | Unique customer identifier |
page | Numeric | Current page number |
page_size | Numeric | Amount of items on requested page |
Parameter | Format | Description |
---|---|---|
customerNoteID | Numeric | Unique customer note identifier |
customerID | Numeric | Unique customer identifier |
DateUTC | Date | Date added |
Note | Alpha Numeric | customer note |
NoteType | Alpha |
Possible note types:
|
HTTP CODE: 200 OK
[
{
"customerID": 304,
"customerNoteID": 74,
"DateUTC": "2016-03-15T14:23:37.3084056Z",
"Note": "Test customer note message",
"NoteType": "General"
},
{
"customerID": 304,
"customerNoteID": 75,
"DateUTC": "2016-03-15T14:23:48.362563Z",
"Note": "Test customer note message 2",
"NoteType": "General"
},
{
"customerID": 304,
"customerNoteID": 76,
"DateUTC": "2016-03-17T09:06:33.3187225Z",
"Note": "Test customer note message 3",
"NoteType": "General"
}
]
Returns a list off all customer notes linked to the logged in account
GET https://api.billagain.com/v1/customernotes
Parameter | Format | Description |
---|---|---|
page | Numeric | Current page number |
page_size | Numeric | Amount of items on requested page |
Parameter | Format | Description |
---|---|---|
customerNoteID | Numeric | Unique customer note identifier |
customerID | Numeric | Unique customer identifier |
DateUTC | Date | Date added |
Note | Alpha Numeric | customer note |
NoteType | Alpha |
Possible note types:
|
HTTP CODE: 200 OK
[
{
"customerID": 222,
"customerNoteID": 61,
"DateUTC": "2015-06-02T14:11:51.2796042Z",
"Note": "Test note message",
"NoteType": "General"
},
{
"customerID": 231,
"customerNoteID": 63,
"DateUTC": "2015-06-17T13:19:36.5054009Z",
"Note": "Test note message 2",
"NoteType": "General"
}
]
Returns a specific customer note
GET https://api.billagain.com/v1/customernotes/{customerNoteID}
Parameter | Format | Description |
---|---|---|
customerNoteID req | Numeric | Unique customer note identifier |
Parameter | Format | Description |
---|---|---|
customerNoteID | Numeric | Unique customer note identifier |
customerID | Numeric | Unique customer identifier |
DateUTC | Date | Date added |
Note | Alpha Numeric | customer note |
NoteType | Alpha |
Possible note types:
|
HTTP CODE: 200 OK
{
"customerID": 304,
"customerNoteID": 74,
"DateUTC": "2016-03-15T14:23:37.3084056Z",
"Note": "Test customer note message",
"NoteType": "General"
}
Adds a customer note to the customer which is linked to your account
POST https://api.billagain.com/v1/customernotes
Parameter | Format | Description |
---|---|---|
customerID req | Numeric | Unique customer identifier |
Note req | Alpha Numeric | customer note |
NoteType | Alpha |
Possible note types:
|
Parameter | Format | Description |
---|---|---|
customerNoteID | Numeric | Unique customer note identifier |
customerID | Numeric | Unique customer identifier |
DateUTC | Date | Date added |
Note | Alpha Numeric | customer note |
NoteType | Alpha |
Possible note types:
|
{
"customerID": 304,
"Note": "My Customer Note",
"NoteType": "General"
}
HTTP CODE: 201 Created
{
"customerID": 304,
"customerNoteID": 77,
"DateUTC": "2016-04-03T13:27:14.2987136Z",
"Note": "My Customer Note",
"NoteType": "General"
}
Edits a customer's note linked to your account
PUT https://api.billagain.com/v1/customernotes/{customerNoteID}
Parameter | Format | Description |
---|---|---|
customerNoteID req | Numeric | Unique customer note identifier |
Parameter | Format | Description |
---|---|---|
customerID req | Numeric | Unique customer identifier |
Note req | Alpha Numeric | customer note |
NoteType | Alpha |
Possible note types:
|
{
"Note": "My New Customer Note",
"NoteType": "General"
}
HTTP CODE: 204 No Content
Delete a customer note from your account
DELETE https://api.billagain.com/v1/customernotes/{customerNoteID}
Parameter | Format | Description |
---|---|---|
customerNoteID req | Numeric | Unique customer note identifier |
HTTP CODE: 204 No Content