POST api/WebHook/Track17Notify

17Track 快递信息推送接口

Request Information

URI Parameters

None.

Body Parameters

Track17NotifyRequest
NameDescriptionTypeAdditional information
event

string

None.

data

Track17NotifyData

None.

Request Formats

application/json, text/json

Sample:
{
  "event": "sample string 1",
  "data": {
    "number": "sample string 1",
    "carrier": 2,
    "param": "sample string 3",
    "tag": "sample string 4",
    "track_info": {
      "shipping_info": {
        "shipper_address": {
          "country": "sample string 1",
          "state": "sample string 2",
          "city": "sample string 3",
          "street": "sample string 4",
          "postal_code": "sample string 5",
          "coordinates": {
            "longitude": "sample string 1",
            "latitude": "sample string 2"
          }
        },
        "recipient_address": {
          "country": "sample string 1",
          "state": "sample string 2",
          "city": "sample string 3",
          "street": "sample string 4",
          "postal_code": "sample string 5",
          "coordinates": {
            "longitude": "sample string 1",
            "latitude": "sample string 2"
          }
        }
      },
      "latest_status": {
        "status": "sample string 1",
        "sub_status": "sample string 2",
        "sub_status_descr": "sample string 3"
      },
      "latest_event": {
        "time_iso": "sample string 1",
        "time_utc": "sample string 2",
        "description": "sample string 3",
        "location": "sample string 4",
        "stage": "sample string 5",
        "address": {
          "country": "sample string 1",
          "state": "sample string 2",
          "city": "sample string 3",
          "street": "sample string 4",
          "postal_code": "sample string 5",
          "coordinates": {
            "longitude": "sample string 1",
            "latitude": "sample string 2"
          }
        }
      },
      "time_metrics": {
        "days_after_order": 1,
        "days_of_transit": 2,
        "days_of_transit_done": 3,
        "days_after_last_update": 4,
        "estimated_delivery_date": {
          "source": "sample string 1",
          "from": "sample string 2",
          "to": "sample string 3"
        }
      },
      "milestone": [
        {
          "key_stage": "sample string 1",
          "time_iso": "sample string 2",
          "time_utc": "sample string 3"
        },
        {
          "key_stage": "sample string 1",
          "time_iso": "sample string 2",
          "time_utc": "sample string 3"
        }
      ],
      "misc_info": {
        "risk_factor": "sample string 1",
        "service_type": "sample string 2",
        "weight_raw": "sample string 3",
        "weight_kg": "sample string 4",
        "pieces": "sample string 5",
        "dimensions": "sample string 6",
        "customer_number": "sample string 7",
        "reference_number": "sample string 8",
        "local_number": "sample string 9",
        "local_provider": "sample string 10",
        "local_key": 11
      },
      "tracking": {
        "providers_hash": 1,
        "providers": [
          {
            "provider": {
              "key": 1,
              "name": "sample string 2",
              "alias": "sample string 3",
              "tel": "sample string 4",
              "homepage": "http://webapihelppage5.com",
              "country": "sample string 6"
            },
            "service_type": "sample string 1",
            "latest_sync_status": "sample string 2",
            "latest_sync_time": "sample string 3",
            "events_hash": 4,
            "events": [
              {
                "time_iso": "sample string 1",
                "time_utc": "sample string 2",
                "description": "sample string 3",
                "location": "sample string 4",
                "stage": "sample string 5",
                "address": {
                  "country": "sample string 1",
                  "state": "sample string 2",
                  "city": "sample string 3",
                  "street": "sample string 4",
                  "postal_code": "sample string 5",
                  "coordinates": {
                    "longitude": "sample string 1",
                    "latitude": "sample string 2"
                  }
                }
              },
              {
                "time_iso": "sample string 1",
                "time_utc": "sample string 2",
                "description": "sample string 3",
                "location": "sample string 4",
                "stage": "sample string 5",
                "address": {
                  "country": "sample string 1",
                  "state": "sample string 2",
                  "city": "sample string 3",
                  "street": "sample string 4",
                  "postal_code": "sample string 5",
                  "coordinates": {
                    "longitude": "sample string 1",
                    "latitude": "sample string 2"
                  }
                }
              }
            ]
          },
          {
            "provider": {
              "key": 1,
              "name": "sample string 2",
              "alias": "sample string 3",
              "tel": "sample string 4",
              "homepage": "http://webapihelppage5.com",
              "country": "sample string 6"
            },
            "service_type": "sample string 1",
            "latest_sync_status": "sample string 2",
            "latest_sync_time": "sample string 3",
            "events_hash": 4,
            "events": [
              {
                "time_iso": "sample string 1",
                "time_utc": "sample string 2",
                "description": "sample string 3",
                "location": "sample string 4",
                "stage": "sample string 5",
                "address": {
                  "country": "sample string 1",
                  "state": "sample string 2",
                  "city": "sample string 3",
                  "street": "sample string 4",
                  "postal_code": "sample string 5",
                  "coordinates": {
                    "longitude": "sample string 1",
                    "latitude": "sample string 2"
                  }
                }
              },
              {
                "time_iso": "sample string 1",
                "time_utc": "sample string 2",
                "description": "sample string 3",
                "location": "sample string 4",
                "stage": "sample string 5",
                "address": {
                  "country": "sample string 1",
                  "state": "sample string 2",
                  "city": "sample string 3",
                  "street": "sample string 4",
                  "postal_code": "sample string 5",
                  "coordinates": {
                    "longitude": "sample string 1",
                    "latitude": "sample string 2"
                  }
                }
              }
            ]
          }
        ]
      }
    }
  }
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.