HTTP Method: Post  Request:
Body: Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
linenumbers | true |
---|
| Â {
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000012263"},
"type_identifier":{"name":"Invoice"},
"life_cycle_state":"POSTED",
"category_identifier":{"name":"Invoice Categories"},
"notes":"to be issued later",
"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_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",
"quick_sale_items_set":
[
{ | Â {
"token":"{{token}}",
"accounts_receivable_identifier":{"number":"ACR0000012263"},
"type_identifier":{"name":"Invoice"},
"life_cycle_state":"POSTED",
"category_identifier":{"name":"Invoice Categories"},
"notes":"to be issued later",
"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_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",
"quick_sale_items_set":
[
{
"product_identifier": {"code": "Expense 1"}
},
{
"product_identifier": {"code": "Antenna"},
"quantity":3,
"discount_percentage":5,
"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_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"
},
{
"product_identifier": {"code": "Installation Kit"},
"installed_item_identifier":{"serial_number": "IK_0001x"},
"price_plan": {"code": "CPricePlan"},
"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_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"
}
]
} |
Response: Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
linenumbers | true |
---|
| {
"data": {
"quick_sale_items_set": [
{
"product": {
"code": "Installation Kit",
"product_type": {
"service_type": null,
"used_for_provisioning": true,
"alternative_code": "IK",
"composition_method": "FIXEDBUNDLE",
"name": "Installation Kit",
"description": "Provisioning Installation kit that can include traceable and non traceable products",
"id": "380C41872DA048DEB1D57CF67D7550F6",
"classification": "PHYSICALGOODS",
"physical_good_type": "TRACEABLE"
},
"alternative_code": "IK",
"description": "Installation Kit",
"id": "D970FFF8F63F4A489108FB60A69657D1"
},
"installed_item": {
"product": {
"code": "Installation Kit",
"product_type": {
"service_type": null,
"used_for_provisioning": true,
"alternative_code": "IK",
"composition_method": "FIXEDBUNDLE",
"name": "Installation Kit",
"description": "Provisioning Installation kit that can include traceable and non traceable products",
"id": "380C41872DA048DEB1D57CF67D7550F6",
"classification": "PHYSICALGOODS",
"physical_good_type": "TRACEABLE"
},
"alternative_code": "IK",
"description": "Installation Kit",
"id": "D970FFF8F63F4A489108FB60A69657D1"
},
"alternative_code": "IK_0001x",
"serial_number": "IK_0001x",
"id": "47775A48DE41455AA1E02224C3D0B9AD",
"state": "EFFECTIVE"
},
"quantity": 1,
"stock_out_warehouse_transaction": {
"number": "2415",
"batch_number": null,
"id": "1B279BEB03294E06BDF17E0F7488BF2D",
"life_cycle_state": "POSTED"
}
},
{
"product": {
"code": "Antenna",
"product_type": {
"service_type": null,
"used_for_provisioning": false,
"alternative_code": "001",
"composition_method": "FLAT",
"name": "Equipment",
"description": null,
"id": "EQ",
"classification": "PHYSICALGOODS",
"productphysical_good_identifiertype": {"codeNONTRACEABLE":
"Expense 1"} },
{ "alternative_code": "A",
"product_identifier": {"codedescription": "Antenna"},
"quantityid":3, "872C558604704AA29D8512A70B608573"
"discount_percentage":5},
"udfinstalled_string_1item":"udf string 1" null,
"udf_string_2quantity":"udf string 2" 3,
"udfstock_out_stringwarehouse_3transaction":"udf string 3", null
}
],
"udfaccounts_string_4receivable":"udf string{
4", "udf_string_5"number": "udf string 5ACR0000012263",
"udf_string_6name": "udf string 6ACR0000012263",
"udf_string_7id": "udf string 7828C4BC409DF4E5AAD2EA1EC3E68224B",
"udflife_stringcycle_8state": "udf string 8ACTIVE",
"udfaccount_float_1owner":10, {
"udfcompany_float_2profile":20 null,
"udfcompany_float_3name":30 null,
"udf_float_4name":40 null,
"udflast_date_1name":"2014-05-05T15:49:59 "Kyriakou",
"udf_date_2id":"2014-06-05T15:49:59 "E4C44CF8ECBE4218B755EC2B490907C6",
"udflife_datecycle_3state":"2014-07-05T15:49:59 "FINANCIAL",
"udfmiddle_date_4name":"2014-08-05T15:49:59"
null,
"title": null,
}, {
"type": "PERSON",
"productfirst_identifiername": {"code": "Installation Kit"},Stella",
"demographics": {
"installedname_item_identifierday":{"serial_number": "IK_0001x"}, {
"price_plan": {"codemonth": "CPricePlan"}null,
"udf_string_1 "day":"udf stringnull
1", "udf_string_2":"udf string 2",},
"udfid_string_3number":"udf stringnull,
3", "udf_string_4gender":"udf stringnull,
4", "udfdate_stringof_5birth":"udf {
string 5", "udf_string_6month":"udf string 6", null,
"udf_string_7year":"udf string 7", null,
"udf_string_8":"udf string 8",day": null
},
"udfindustry_float_1sector":10 null,
"udfpassport_float_2number":20 null,
"udf_float_3industry":30 null,
"udfsocial_floatsecurity_4number":40 null,
"udfid_issued_dateby_1country":"2014-05-05T15:49:59" null,
"udfpassport_issued_dateby_2":"2014-06-05T15:49:59",country": null
}
"udf_date_3":"2014-07-05T15:49:59",}
},
"udfexpenses_date_4":"2014-08-05T15:49:59"set": [
{
} ]
} |
Response: Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
linenumbers | true |
---|
| { "code": "Expense 1",
"dataproduct_type": {
"quick_sale_items_setservice_type": ["EXPENSE",
{"used_for_provisioning": false,
"productalternative_code": {"006",
"codecomposition_method": "Installation KitFLAT",
"product_typename": {"Fees",
"service_typedescription": null,
"Fees One Time Services",
"used_for_provisioningid": true"6",
"alternative_codeclassification": "IKSERVICES",
"compositionphysical_good_methodtype": "FIXEDBUNDLE",null
},
"namealternative_code": "Installation KitE1",
"description": "ProvisioningExpense Installation1",
kit that can include traceable and non traceable products"id",: "A9917A7895044BEF9499DD6958539D33"
}
"id": "380C41872DA048DEB1D57CF67D7550F6"],
"invoice": {
"classificationposted_on": "PHYSICALGOODS2017-07-19T21:18:42",
"physical_good_type"number": "TRACEABLEI00003481",
}"total_amount": 38.5,
"alternativeunsettled_codeamount": "IK",
38.5,
"descriptionissued_on": "Installation Kit",
2017-07-19T21:18:38",
"idcurrency_rate_period": "D970FFF8F63F4A489108FB60A69657D1"null,
}"id": "92795A6DF9CF4338BF3BF0DA17D652FA",
"installedlife_cycle_itemstate": {"POSTED",
"product"outstanding_amount": {
0,
"code"reference_number": "Installation Kit7449",
"productdue_typeon": {"2017-07-21T21:18:42"
}
},
"service_typestatus": null,{
"code": "OK",
"used_for_provisioning"description": true"",
"message": ""
}
} |
|