HTTP Method: POSTÂ
Request: Body: Code Block |
---|
Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
linenumbers | true |
---|
| {
"status": {
"message": "",
"description": "",
"code": "OK"
},
"data": {
"invoices_to_pay_set": [
{
"issued_on": "2014-08-06T13:12:19",
"total_amount": 16.5,
"life_cycle_state": "POSTED",
"unsettled_amount": null,
"number": "I00000181",
"due_on": "2014-08-05T00:00:00",
"id": "3F8C3DE40431951F714C8162DBBA90BE",
"reference_number": "181",
"outstanding_amount": null,
"posted_on": "2014-08-06T13:12:51"
}
],
"notes": "Panayiota Demou\t19/2/2015 11:48:47\tTest\tMarios Lannister\t4/5/2016 13:13:20\tPayment note\tMarios Lannister\t4/5/2016 13:20:34\tPayment note\tMarios Lannister\t4/5/2016 13:22:31\tPayment note\tMarios Lannister\t4/5/2016 13:24:53\tPayment note\tMarios Lannister\t4/5/2016 13:27:44\tPayment note\tMarios Lannister\t4/5/2016 13:30:03\tPayment note\tMarios Lannister\t4/5/2016 13:36:02\tPayment note\tMarios Lannister\t4/5/2016 13:36:50\tPayment note\tMarios Lannister\t4/5/2016 13:40:22\tPayment note\tMarios Lannister\t4/5/2016 13:40:43\tPayment note",
"udf_float_1": 10,
"udf_float_2": 20,
"udf_float_3": 30,
"number": null,
"udf_float_4": 40,
"udf_string_1": "udf string 1",
"udf_string_2": "udf string 2",
"udf_string_3": "udf string 3",
"received_by_unit": {language | javascript |
---|
theme | Confluence |
---|
languagelinenumbers | javascript |
---|
linenumbers | true |
---|
| {
"token":"35FA3612DEB94BF7A2FE2C9EC9EF406D",
"payment_identifier":{"reference_number":"179"},
"accounts_receivable_identifier":{"name":"Jessie01"},
"category_identifier":{"name":"Payment Categories"},
"received_on":"2015-03-02T09:12:54",
"received_by_user_identifier":{"username":"mpadministrator"},
"received_by_unit_identifier":{"name":"Admin Unit"},
"back_office_code":"P000001",
"notes":"Payment note",
"udf_string_1":"udf string 1",
"udf_string_2":"udf string 2",
"udf_string_3":"udf string 3",
"udf_string_4":"udf string 4",
"udf_string_5":"udf string 5",
"udf_string_6":"udf string 6",
"udf_string_7":"udf string 7",
"udf_string_8":"udf string 8",
"udf_float_1":10,
"udf_float_2":20,
"udf_float_3":30,
"udf_float_4":40,
"udf_float_5":50,
"udf_float_6":60,
"udf_float_7":70,
"udf_float_8":80,
"udf_date_1":"2014-05-05T15:49:59",
"udf_date_2":"2014-06-05T15:49:59",
"udf_date_3":"2014-07-05T15:49:59",
"udf_date_4":"2014-08-05T15:49:59",
"bills_to_pay_set":
[
{
"action":"add",
"bill_identifier":{"number":"BL000128"}
}
],
"invoices_to_pay_set":
[
{
"action":"add",
"invoice_identifier":{"number":"I00000181"}
}
]
}
|
Response: | {
"token":"35FA3612DEB94BF7A2FE2C9EC9EF406D",
"payment_identifier":{"reference_number":"179"},
"accounts_receivable_identifier":{"name":"Jessie01"},
"category_identifier":{"name":"Payment Categories"},
"received_on":"2015-03-02T09:12:54",
"received_by_user_identifier":{"username":"mpadministrator"},
"received_by_unit_identifier":{"name":"Admin Unit"},
"back_office_code":"P000001",
"notes":"Payment note",
"udf_string_1":"udf string 1",
"udf_string_2":"udf string 2",
"udf_string_3":"udf string 3",
"udf_string_4":"udf string 4",
"udf_string_5":"udf string 5",
"udf_string_6":"udf string 6",
"udf_string_7":"udf string 7",
"udf_string_8":"udf string 8",
"udf_float_1":10,
"udf_float_2":20,
"udf_float_3":30,
"udf_float_4":40,
"udf_float_5":50,
"udf_float_6":60,
"udf_float_7":70,
"udf_float_8":80,
"udf_date_1":"2014-05-05T15:49:59",
"udf_date_2":"2014-06-05T15:49:59",
"udf_date_3":"2014-07-05T15:49:59",
"udf_date_4":"2014-08-05T15:49:59",
"bills_to_pay_set":
[
{
"action":"add",
"bill_identifier":{"number":"BL000128"}
}
],
"invoices_to_pay_set":
[
{
"action":"add",
"invoice_identifier":{"number":"I00000181"}
}
]
}
|
Response: Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| {
"status": {
"message": "",
"description": "",
"code": "OK"
},
"data": {
"invoices_to_pay_set": [
{
"issued_on": "2014-08-06T13:12:19",
"total_amount": 16.5,
"life_cycle_state": "POSTED",
"unsettled_amount": null,
"number": "I00000181",
"due_on": "2014-08-05T00:00:00",
"id": "3F8C3DE40431951F714C8162DBBA90BE",
"reference_number": "181",
"outstanding_amount": null,
"posted_on": "2014-08-06T13:12:51"
}
],
"notes": "Panayiota Demou\t19/2/2015 11:48:47\tTest\tMarios Lannister\t4/5/2016 13:13:20\tPayment note\tMarios Lannister\t4/5/2016 13:20:34\tPayment note\tMarios Lannister\t4/5/2016 13:22:31\tPayment note\tMarios Lannister\t4/5/2016 13:24:53\tPayment note\tMarios Lannister\t4/5/2016 13:27:44\tPayment note\tMarios Lannister\t4/5/2016 13:30:03\tPayment note\tMarios Lannister\t4/5/2016 13:36:02\tPayment note\tMarios Lannister\t4/5/2016 13:36:50\tPayment note\tMarios Lannister\t4/5/2016 13:40:22\tPayment note\tMarios Lannister\t4/5/2016 13:40:43\tPayment note",
"udf_float_1": 10,
"udf_float_2": 20,
"udf_float_3": 30,
"number": null,
"udf_float_4": 40,
"udf_string_1": "udf string 1",
"udf_string_2": "udf string 2",
"udf_string_3": "udf string 3",
"received_by_unit": {
"community_name": "Internal Community",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"name": "Admin Unit",
"group_name": "Main Group",
"description": "r1 Test Description for resource request tab.Test Description for resource request tab.",
"alternative_code": "MG"
},
"udf_string_4": "udf string 4",
"udf_string_5": "udf string 5",
"card": null,
"udf_string_6": "udf string 6",
"udf_string_7": "udf string 7",
"udf_string_8": "udf string 8",
"received_by_user": {
"person_name": "Marios Lannister",
"username": "MPAdministrator",
"id": "1",
"email": "sakkascy1986@hotmail.com"
},
"accounts_receivable": {
"account_owner": {
"last_name": "Pickman",
"middle_name": "Li",
"life_cycle_state": "FINANCIAL",
"company_profile": null,
"title": "Mr",
"first_name": "Jessie",
"type": "PERSON",
"id": "F9A629E466B1EF473CECD46F2A4D63F3",
"name": null,
"company_name": null,
"demographics": {
"gender": "MALE",
"passport_issued_by_country": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
},
"social_security_number": "434567",
"passport_number": "54567432",
"country_of_residence": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
},
"name_day": {
"month": 4,
"day": 2
},
"date_of_birth": {
"month": 11,
"day": 1,
"year": 1988
},
"id_number": "983452",
"id_issued_by_country": {
"three_character_code": "USA",
"two_character_code": "US",
"id": "127",
"name": "UNITED STATES",
"alternative_code": null
}
}
},
"life_cycle_state": "ACTIVE",
"number": "170",
"id": "903B55B02EAC74FE25E12F8786D44011",
"name": "Jessie01"
},
"bills_to_pay_set": [
{
"total_amount_to_be_paid": 40.000000000000014,
"to_date": null,
"from_date": null,
"life_cycle_state": "POSTED",
"total_billed_amount": 40,
"number": "BL000128",
"bill_status": null,
"id": "C4442CB68A6C45D2B977D13C3FDFA434"
}
],
"id": "FD0553CC902A7C57D6CAC9393754E346",
"posted_on": null,
"udf_date_1": "2014-05-05T15:49:59",
"udf_date_2": "2014-06-05T15:49:59",
"udf_date_3": "2014-07-05T15:49:59",
"udf_date_4": "2014-08-05T15:49:59",
"log_information": {
"updated_date": "2016-05-04T10:40:46",
"created_date": "2014-10-07T15:51:26",
"created_by_unit": {
"community_name": "Internal Community",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"name": "Admin Unit",
"group_name": "Main Group",
"description": "r1 Test Description for resource request tab.Test Description for resource request tab.",
"alternative_code": "MG"
},
"updated_by_unit": {
"community_name": "Internal Community",
"id": "48305F8849E3C18B227C5BE3A27BA6DF",
"name": "Admin Unit",
"group_name": "Main Group",
"description": "r1 Test Description for resource request tab.Test Description for resource request tab.",
"alternative_code": "MG"
},
"created_by_user": {
"person_name": "persia_xenopoulou",
"username": "persia_xenopoulou",
"id": "2A15084589E81D3DA7ABA3C7563F805E",
"email": "p_xenopoulou@crm.com"
},
"updated_by_user": {
"person_name": "Marios Lannister",
"username": "MPAdministrator",
"id": "1"
}
},
"payment_amount": 150,
"issued_on": "2014-10-07T15:51:26",
"life_cycle_state": "DRAFT",
"back_office_code": "P000001",
"rejection_reason": null,
"payment_method": {
"id": "075CC59CC7EBCD818C6311E596615337",
"name": "Cash",
"description": "Cash",
"alternative_code": "C"
},
"type": {
"classification": "PAYMENT",
"id": "84C4E6996B0DC91307D0D9DBBE7D325E",
"name": "Payment 1",
"description": "Payment 1",
"alternative_code": "P1"
},
"received_on": "2015-03-02T09:12:54",
"reference_number": "179",
"category": {
"id": "6BFF031A540EB9337C70022247C7A19B",
"name": "Payment Categories",
"description": "Payment Categories",
"code": "PC"
}
}
} |
|