You are here:
Orchestration Item Definition Request Items Encoding Style
In the Orchestration Item Definition screen, choose whether to produce flat or structured JSON for requests.
In the Orchestration Item Definition screen, choose which encoding style you want your request to be. You can choose from None, Flat, or Structure.
The following image shows an example hierarchy:
The fulfillment request example produces the following JSON with a flat encoding style:
{
"orderItemsWithAttrs": [
{
"id": "a1f3i000000UcNUAA0",
"attrs": {
"Billing code": "VLO_MOB_PLAN"
}
},
{
"id": "a1f3i000000UcNVAA0",
"attrs": {
"Billing code": "VLO_SIM"
}
},
{
"id": "a1f3i000000UcNWAA0",
"attrs": {
"Billing code": "VLO_RMNG"
}
},
{
"id": "a1f3i000000UcNXAA0",
"attrs": {
"Call forward no": "+123456789",
"Billing code": "VLO_CALL_FWD"
}
}
]
}The fulfillment request produces the following JSON with a structured encoding:
{
"orderItemsWithAttrs" : [
{
"id" : "a1f3i000000UcNUAA0",
"attrs" : {
"Billing code" : "VLO_MOB_PLAN"
},
"orderItemsWithAttrs" : [
{
"id" : "a1f3i000000UcNVAA0",
"attrs" : {
"Billing code" : "VLO_SIM"
}
},
{
"id" : "a1f3i000000UcNWAA0",
"attrs" : {
"Billing code" : "VLO_RMNG"
}
},
{
"id" : "a1f3i000000UcNXAA0",
"attrs" : {
"Call forward no" : "+123456789",
"Billing code" : "VLO_CALL_FWD"
}
}
]
}
]
}'s
