Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl \
- > -X PUT \
- > -H "Content-Type: application/json" \
- > --data @body.data \
- > --cookie "session=1xg0ckmq20dhn1bacbafmh84f1;" \
- > "http://funtest.feedeo.io:8081/api/projects/724366/campaigns/187054/adgroups/17687687/productpartitions/315" \
- > -v | jq .
- * Hostname was NOT found in DNS cache
- * Trying 172.16.1.13...
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to funtest.feedeo.io (172.16.1.13) port 8081 (#0)
- > PUT /api/projects/724366/campaigns/187054/adgroups/17687687/productpartitions/315 HTTP/1.1
- > User-Agent: curl/7.39.0
- > Host: funtest.feedeo.io:8081
- > Accept: */*
- > Cookie: session=1xg0ckmq20dhn1bacbafmh84f1;
- > Content-Type: application/json
- > Content-Length: 3822
- > Expect: 100-continue
- >
- < HTTP/1.1 100 Continue
- } [data not shown]
- 100 3822 0 0 100 3822 0 315 0:00:12 0:00:12 --:--:-- 0< HTTP/1.1 200 OK
- < Date: Sat, 28 Mar 2015 16:07:34 GMT
- < Content-Type: application/json;charset=UTF-8
- < Transfer-Encoding: chunked
- <
- { [data not shown]
- 100 6758 0 2936 100 3822 229 298 0:00:12 0:00:12 --:--:-- 0
- * Connection #0 to host funtest.feedeo.io left intact
- {
- "children_partitions": [
- {
- "children_partitions": [],
- "id": 340,
- "is_negative": false,
- "created_date": "2015-03-25T14:21:39.000Z",
- "parent_partition": 339,
- "partition_type": "UNIT",
- "dimension_type": "Category (1st level)",
- "bid": 0.01,
- "bid_last_changed": "2015-03-25T14:21:39.000Z"
- },
- {
- "children_partitions": [
- {
- "children_partitions": [],
- "id": 342,
- "is_negative": false,
- "created_date": "2015-03-25T14:21:39.000Z",
- "parent_partition": 341,
- "partition_type": "UNIT",
- "dimension_type": "Category (2nd level)",
- "bid": 0.01,
- "bid_last_changed": "2015-03-25T14:21:39.000Z"
- },
- {
- "children_partitions": [
- {
- "children_partitions": [],
- "id": 344,
- "is_negative": false,
- "created_date": "2015-03-25T14:21:39.000Z",
- "parent_partition": 343,
- "partition_type": "UNIT",
- "dimension_type": "Category (3rd level)",
- "bid": 0.01,
- "bid_last_changed": "2015-03-25T14:21:39.000Z"
- },
- {
- "children_partitions": [
- {
- "bid_last_changed": "2015-03-25T14:21:39.000Z",
- "bid": 0.01,
- "dimension_type": "Item ID",
- "partition_type": "UNIT",
- "parent_partition": 345,
- "created_date": "2015-03-25T14:21:39.000Z",
- "is_negative": false,
- "id": 346
- },
- {
- "bid_last_changed": "2015-03-25T14:21:39.000Z",
- "bid": 0.01,
- "id": 347,
- "name": "accbranosme",
- "value": "accbranosme",
- "is_negative": false,
- "created_date": "2015-03-25T14:21:39.000Z",
- "parent_partition": 345,
- "partition_type": "UNIT",
- "dimension_type": "Item ID"
- },
- {
- "bid_last_changed": "2015-03-25T14:21:39.000Z",
- "bid": 0.01,
- "id": 348,
- "name": "accfebl",
- "value": "accfebl",
- "is_negative": false,
- "created_date": "2015-03-25T14:21:39.000Z",
- "parent_partition": 345,
- "partition_type": "UNIT",
- "dimension_type": "Item ID"
- }
- ],
- "bid_last_changed": "2015-03-25T14:21:39.000Z",
- "bid": 0.01,
- "id": 345,
- "name": "Halsdukar och sjalar",
- "value": "8081414186204227459",
- "is_negative": false,
- "created_date": "2015-03-25T14:21:39.000Z",
- "parent_partition": 343,
- "partition_type": "SUBDIVISION",
- "dimension_type": "Category (3rd level)"
- }
- ],
- "bid_last_changed": "2015-03-25T14:21:39.000Z",
- "bid": 0.01,
- "id": 343,
- "name": "Klädesaccessoarer",
- "value": "-5081023995863395680",
- "is_negative": false,
- "created_date": "2015-03-25T14:21:39.000Z",
- "parent_partition": 341,
- "partition_type": "SUBDIVISION",
- "dimension_type": "Category (2nd level)"
- },
- {
- "bid_last_changed": "2015-03-28T16:07:34.105Z",
- "partition_type": "UNIT",
- "parent_partition": 341,
- "created_date": "2015-03-28T16:07:34.105Z",
- "is_negative": false,
- "value": "-6692624268187050998",
- "name": "Smycken",
- "id": 349
- },
- {
- "bid_last_changed": "2015-03-28T16:07:34.105Z",
- "partition_type": "UNIT",
- "parent_partition": 341,
- "created_date": "2015-03-28T16:07:34.105Z",
- "is_negative": false,
- "value": "1571376406755585058",
- "name": "Maskeradkostymer och tillbehör",
- "id": 350
- }
- ],
- "bid_last_changed": "2015-03-25T14:21:39.000Z",
- "bid": 0.01,
- "id": 341,
- "name": "Kläder och accessoarer",
- "value": "-3692872870547437690",
- "is_negative": false,
- "created_date": "2015-03-25T14:21:39.000Z",
- "parent_partition": 339,
- "partition_type": "SUBDIVISION",
- "dimension_type": "Category (1st level)"
- }
- ],
- "bid_last_changed": "2015-03-28T16:07:34.103Z",
- "created_date": "2015-03-28T16:07:34.103Z",
- "is_negative": false,
- "id": 339
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement