This project has moved. For the latest updates, please go here.

Create a resource

Used to create a resource in the FIM Service

Request

Method URL
POST /v1/resources/

Request Body

This request type requires a JSON-formatted list of attribute/value pairs to save with the resource. An ObjectType attribute is required in the body.

Response

Response Codes

See the topic on error handling for the response codes that this API call can return.

Response Body

If successful, this method will return the object ID of the newly created resource

Examples

Request

POST /v1/resources/

{
   "ObjectType":"Person",
   "AccountName":"testuser"
   "DisplayName":"Test User"
}

Response

HTTP/1.1 200 OK

cc9d3f44-3232-4f6c-a412-d8a191574175

Last edited Aug 24, 2015 at 3:32 AM by ryannewington, version 1