Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These are the expected status codes returned by the service - in . In addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).

...

Example - GET

Retrieves a list of all attachments associated with a temporary attachment set.

Request Headers

KeyValueDescription
Acceptapplication/json

Request Parameters

KeyValueDescription
{id}4bb709c2-e0e7-4af3-9f60-a045016a9610Unique identifier of the temporary attachment set.

Response Headers

KeyValueDescription
Content-Typeapplication/json; charset=utf-8

Response Body

Code Block
languagenone
{
  "Items": [
    {
      "TemporaryId": "4bb709c2-e0e7-4af3-9f60-a045016a9610",
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Test Image",
      "FileName": "test.png",
      "ContentType": "image/png",
      "CreatedAt": "2014-0207-13T2114T22:0402:45Z08Z",
      "CreatedById": "2b364daa-0dff-4a6f-8554-f5963d3011be",
      "Size": 122454,
      "Self": "http://localhost/api/temporaryattachmentset/4bb709c2-e0e7-4af3-9f60-a045016a9610/attachment/00000000-0000-0000-0000-000000000000",
      "Content": "http://localhost/api/attachment/00000000-0000-0000-0000-000000000000/contents"
    },
    {
      "TemporaryId": "4bb709c2-e0e7-4af3-9f60-a045016a9610",
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Test Image 2",
      "FileName": "test2.png",
      "ContentType": "image/png",
      "CreatedAt": "2014-0207-13T2114T22:0402:45Z08Z",
      "CreatedById": "2b364daa-0dff-4a6f-8554-f5963d3011be",
      "Size": 23132,
      "Self": "http://localhost/api/temporaryattachmentset/4bb709c2-e0e7-4af3-9f60-a045016a9610/attachment/00000000-0000-0000-0000-000000000000",
      "Content": "http://localhost/api/attachment/00000000-0000-0000-0000-000000000000/contents"
    }
  ]
}

Status Code

201 - Created

...

These are the expected status codes returned by the service - in . In addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).

...