POST v1/api/Tracking/CreateEvent
Request Information
URI Parameters
None.
Body Parameters
esw.RetailerApi.Areas.Nike.Models.TrackingEventRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PackageId | string |
None. |
|
| TrackingEvents | Collection of esw.RetailerApi.Areas.Nike.Models.TrackingEvent |
None. |
Request Formats
application/json, text/json
Sample:
{
"PackageId": "sample string 1",
"TrackingEvents": [
{
"EventId": 1,
"EventCode": "sample string 2",
"EventDescription": "sample string 3"
},
{
"EventId": 1,
"EventCode": "sample string 2",
"EventDescription": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<TrackingEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/esw.RetailerApi.Areas.Nike.Models">
<PackageId>sample string 1</PackageId>
<TrackingEvents>
<TrackingEvent>
<EventCode>sample string 2</EventCode>
<EventDescription>sample string 3</EventDescription>
<EventId>1</EventId>
</TrackingEvent>
<TrackingEvent>
<EventCode>sample string 2</EventCode>
<EventDescription>sample string 3</EventDescription>
<EventId>1</EventId>
</TrackingEvent>
</TrackingEvents>
</TrackingEventRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |