POST api/internal/order/update-order-status

Request Information

URI Parameters

None.

Body Parameters

Kartverket.Geonorge.Download.Models.Api.Internal.UpdateOrderStatusRequest
NameDescriptionTypeAdditional information
OrderUuid

The order uuid

string

None.

DownloadUrl

Url to the processed file

string

None.

Status

Valid values: WaitingForProcessing, ReadyForDownload, Error

string

None.

Event

The event that has occured. Valid values: FilePackingFinished

string

None.

Message

Optional message, should be provided for errors.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderUuid": "sample string 1",
  "DownloadUrl": "sample string 2",
  "Status": "sample string 3",
  "Event": "sample string 4",
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<UpdateOrderStatusRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OrderUuid>sample string 1</OrderUuid>
  <DownloadUrl>sample string 2</DownloadUrl>
  <Status>sample string 3</Status>
  <Event>sample string 4</Event>
  <Message>sample string 5</Message>
</UpdateOrderStatusRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateOrderStatusRequest'.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.