get https://api.chartmogul.com/v1/customer_notes/
Retrieves a note
object from your ChartMogul account.
Example
curl -X GET "https://api.chartmogul.com/v1/customer_notes/note_39351ba6-dea0-11ee-ac96-37b2b3de29af" \
-u YOUR_API_KEY: \
ChartMogul::Note.retrieve('note_39351ba6-dea0-11ee-ac96-37b2b3de29af')
ChartMogul.CustomerNote.retrieve(config, {"note_39351ba6-dea0-11ee-ac96-37b2b3de29af"});
ChartMogul\CustomerNote::retrieve("note_39351ba6-dea0-11ee-ac96-37b2b3de29af");
api.RetrieveNote("note_39351ba6-dea0-11ee-ac96-37b2b3de29af")
chartmogul.CustomerNote.retrieve(config, uuid='note_39351ba6-dea0-11ee-ac96-37b2b3de29af')
Result Format
{
"uuid": "note_39351ba6-dea0-11ee-ac96-37b2b3de29af",
"customer_uuid": "cus_52eb54c2-dea0-11ed-ac96-ef735d89fca0",
"type": "note",
"text": "They are a world leader in specialized software.\n",
"call_duration": 0,
"author": "Adam ([email protected])",
"created_at": "2023-11-01T00:00:00.000Z",
"updated_at": "2023-12-21T10:53:50.082Z"
}
#<ChartMogul::Note:0x00007fb757b74038
@customer_uuid="cus_52eb54c2-dea0-11ed-ac96-ef735d89fca0",
@type="note",
@text="They are a world leader in specialized software.\n",
@created_at="2023-11-01T00:00:00.000Z",
@author="Adam ([email protected])",
@call_duration=0,
@updated_at="2023-12-21T10:53:50.082Z",
@uuid="note_39351ba6-dea0-11ee-ac96-37b2b3de29af">
{
"uuid": "note_39351ba6-dea0-11ee-ac96-37b2b3de29af",
"customer_uuid": "cus_52eb54c2-dea0-11ed-ac96-ef735d89fca0",
"type": "note",
"text": "They are a world leader in specialized software.\n",
"call_duration": 0,
"author": "Adam ([email protected])",
"created_at": "2023-11-01T00:00:00.000Z",
"updated_at": "2023-12-21T10:53:50.082Z"
}
<?php
class ChartMogul\CustomerNote (8) {
protected $uuid =>
string(41) "note_39351ba6-dea0-11ee-ac96-37b2b3de29af"
protected $customer_uuid =>
string(40) "cus_52eb54c2-dea0-11ed-ac96-ef735d89fca0"
protected $type =>
string(4) "note"
protected $text =>
string(49) "They are a world leader in specialized software.\n"
protected $call_duration =>
int(1)
protected $author =>
string(23) "Adam ([email protected])"
protected $created_at =>
string(24) "2023-11-01T00:00:00.000Z"
protected $updated_at =>
string(24) "2023-12-21T10:53:50.082Z"
}
?>
(*chartmogul.Note)(0x17000568000)({
UUID: (string) (len=41) "note_39351ba6-dea0-11ee-ac96-37b2b3de29af",
CustomerUUID: (string) (len=40) "cus_52eb54c2-dea0-11ed-ac96-ef735d89fca0",
Type: (string) (len=40) "note",
Text: (string) (len=49) "They are a world leader in specialized software.\n",
CallDuration (uint32) 0
Author: (string) (len=23) "[email protected]",
CreatedAt: (string) (len=24) "2023-11-01T00:00:00.000Z",
UpdatedAt: (string) (len=24) "2023-12-21T10:53:50.082Z"
})
<Note{
uuid: 'note_39351ba6-dea0-11ee-ac96-37b2b3de29af',
customer_uuid: 'cus_52eb54c2-dea0-11ed-ac96-ef735d89fca0',
type: 'note',
text: 'They are a world leader in specialized software.\n',
call_duration: 0,
author: 'Adam ([email protected])',
created_at: '2023-11-01T00:00:00.000Z',
updated_at: '2023-12-21T10:53:50.082Z'
}>