POST api/resources/{id}

Updates a resource

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

ResourceRequest
NameDescriptionTypeAdditional information
Resource

ResourceReq

None.

Request Formats

application/json, text/json

Sample:
{
  "Resource": {
    "Name": "sample string 1",
    "Generic": true,
    "Mail": "sample string 3",
    "Office365Id": "20e47cd2-982e-4995-bd12-c2850a73d85d",
    "UserId": "d6c848a3-9be6-485b-bba7-e5a7abf4d6d5",
    "UserOnly": true,
    "OnePlanSecurityGroup": "c733c248-c1d9-4f4d-9120-8b021ab6296d",
    "Fields": {
      "sample string 1": {},
      "sample string 3": {}
    }
  }
}

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.