POST api/{siteCode}/Milestone/UpdateMilestoneEvent

Updates an existing milestone event.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteCode

The site code.

integer

Required

Body Parameters

The milestone.

Milestone
NameDescriptionTypeAdditional information
ID

integer

None.

JobNumber

string

None.

Milestone1

string

None.

MilestoneLabel

string

None.

MilestoneDate

date

None.

MilestoneTarget

date

None.

MilestoneScore

decimal number

None.

User_

string

None.

CustomerAdvised

date

None.

AgentAdvised

date

None.

NotifyCustomer

integer

None.

NotifyAgent

integer

None.

WarehouseRef

string

None.

QuoteRef

string

None.

Anchor

integer

None.

AlarmTime

date

None.

AckAlarm

integer

None.

Comment

string

None.

LockMilestone

integer

None.

Profile

string

None.

CourierAction

integer

None.

Publish

integer

None.

NotifyOnFailure

integer

None.

LineOrder

integer

None.

SendTo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "JobNumber": "sample string 2",
  "Milestone1": "sample string 3",
  "MilestoneLabel": "sample string 4",
  "MilestoneDate": "2025-02-05T06:50:10.7645426+00:00",
  "MilestoneTarget": "2025-02-05T06:50:10.7645426+00:00",
  "MilestoneScore": 1.1,
  "User_": "sample string 5",
  "CustomerAdvised": "2025-02-05T06:50:10.7645426+00:00",
  "AgentAdvised": "2025-02-05T06:50:10.7645426+00:00",
  "NotifyCustomer": 1,
  "NotifyAgent": 1,
  "WarehouseRef": "sample string 6",
  "QuoteRef": "sample string 7",
  "Anchor": 1,
  "AlarmTime": "2025-02-05T06:50:10.7645426+00:00",
  "AckAlarm": 1,
  "Comment": "sample string 8",
  "LockMilestone": 1,
  "Profile": "sample string 9",
  "CourierAction": 1,
  "Publish": 1,
  "NotifyOnFailure": 1,
  "LineOrder": 1,
  "SendTo": "sample string 10"
}

application/xml, text/xml

Sample:
<Milestone xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ID>1</ID>
  <JobNumber>sample string 2</JobNumber>
  <Milestone1>sample string 3</Milestone1>
  <MilestoneLabel>sample string 4</MilestoneLabel>
  <MilestoneDate>2025-02-05T06:50:10.7645426+00:00</MilestoneDate>
  <MilestoneTarget>2025-02-05T06:50:10.7645426+00:00</MilestoneTarget>
  <MilestoneScore>1.1</MilestoneScore>
  <User_>sample string 5</User_>
  <CustomerAdvised>2025-02-05T06:50:10.7645426+00:00</CustomerAdvised>
  <AgentAdvised>2025-02-05T06:50:10.7645426+00:00</AgentAdvised>
  <NotifyCustomer>1</NotifyCustomer>
  <NotifyAgent>1</NotifyAgent>
  <WarehouseRef>sample string 6</WarehouseRef>
  <QuoteRef>sample string 7</QuoteRef>
  <Anchor>1</Anchor>
  <AlarmTime>2025-02-05T06:50:10.7645426+00:00</AlarmTime>
  <AckAlarm>1</AckAlarm>
  <Comment>sample string 8</Comment>
  <LockMilestone>1</LockMilestone>
  <Profile>sample string 9</Profile>
  <CourierAction>1</CourierAction>
  <Publish>1</Publish>
  <NotifyOnFailure>1</NotifyOnFailure>
  <LineOrder>1</LineOrder>
  <SendTo>sample string 10</SendTo>
  <TSTAMP>QEA=</TSTAMP>
</Milestone>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage.

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.