Send volumes on a weekly basis with type integer values for a registered transaction by date
Operation ID: Send volumes of type integer by date on a weekly basisSend volumes on a weekly basis with type integer values for a registered transaction by date. Start date: The date of the volume to be assigned to the right period (https://tools.ietf.org/html/rfc3339#section-5.6). Type: The template ID for the volumes. All messages send for a transaction must contain the same template type. Payload limit to 30 MB. "type" and "salesorg" must be the same in all messages belonging to a transaction ID.
Permission Role: Volumes write Data Source Table Name: Weekly Measure Int
curl "https://cgcloud_processing_services_integration/api/v65.0/volumes/weeks/date/integer" \
-X POST \
-H "content-type: application/json" \
-d '{
"type": "b002",
"salesorg": "CL03",
"volumes": [
{
"startdate": "2016-01-01",
"rows": [
{
"prd": "DgnDTabGayq04e38",
"acc": "d6Xs6iSEGosXVK2I",
"value": 1
},
{
"prd": "VEZALRvM4W3QKK4e",
"acc": "yx8tkgHDyXtcITey",
"value": 2
}
]
},
{
"startdate": "2016-01-08",
"rows": [
{
"prd": "GsKrne1GM1JWW1I9",
"acc": "99nVfm7T3y5MZhar",
"value": 3
},
{
"prd": "ZP6ZacEhf1AbNGJF",
"acc": "d151ihoxCpZe2N3M",
"value": 4
},
{
"prd": "ABC",
"acc": "XYZ",
"value": 5
}
]
}
]
}'Transaction ID specified by the sending system. Characters allowed a-z, A-Z, 0-9, ", "-","_"
{
"type": "b002",
"salesorg": "CL03",
"volumes": [
{
"startdate": "2016-01-01",
"rows": [
{
"prd": "DgnDTabGayq04e38",
"acc": "d6Xs6iSEGosXVK2I",
"value": 1
},
{
"prd": "VEZALRvM4W3QKK4e",
"acc": "yx8tkgHDyXtcITey",
"value": 2
}
]
},
{
"startdate": "2016-01-08",
"rows": [
{
"prd": "GsKrne1GM1JWW1I9",
"acc": "99nVfm7T3y5MZhar",
"value": 3
},
{
"prd": "ZP6ZacEhf1AbNGJF",
"acc": "d151ihoxCpZe2N3M",
"value": 4
},
{
"prd": "ABC",
"acc": "XYZ",
"value": 5
}
]
}
]
}
Any instance of data is allowed.
The API file specifies body for this request but it does not specify the data model.
{
"result": "Blocks received: 2",
"messageid": 515
}
Any instance of data is allowed.
The API file specifies body for this request but it does not specify the data model.
{
"result": "Blocks received: 2",
"messageid": 515
}