PUT DMC/SetRequestStatus

Sets the status of the specified request.

Request Information

URI Parameters

None.

Body Parameters

SetRequestStatusData
NameDescriptionTypeAdditional information
RequestID

globally unique identifier

None.

DataMartID

globally unique identifier

None.

Status

DMCRoutingStatus

None.

Message

string

None.

Properties

Collection of RoutingProperty

None.

Request Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "RequestID": "839b2844-0e2b-42ba-98c0-07611452b282",
      "DataMartID": "368a87bd-f239-4fd0-a01f-6e68d9183ea3",
      "Status": 1,
      "Message": "sample string 3",
      "Properties": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    }
  ]
}

text/javascript

Sample:
{"results":[{"RequestID":"839b2844-0e2b-42ba-98c0-07611452b282","DataMartID":"368a87bd-f239-4fd0-a01f-6e68d9183ea3","Status":1,"Message":"sample string 3","Properties":[{"Name":"sample string 1","Value":"sample string 2"},{"Name":"sample string 1","Value":"sample string 2"}]}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<SetRequestStatusData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO.DataMartClient.Criteria">
  <DataMartID>368a87bd-f239-4fd0-a01f-6e68d9183ea3</DataMartID>
  <Message>sample string 3</Message>
  <Properties xmlns:d2p1="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO.DataMartClient">
    <d2p1:RoutingProperty>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:RoutingProperty>
    <d2p1:RoutingProperty>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:RoutingProperty>
  </Properties>
  <RequestID>839b2844-0e2b-42ba-98c0-07611452b282</RequestID>
  <Status>Draft</Status>
</SetRequestStatusData>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.