Response Data Type

Abstract Type
Properties
name data type description
lastModified number
entityTag EntityTag
date number
language string
location string
statusInfo StatusType
allowedMethods array of string
mediaType MediaType
status number
length number
links array of Link
headers map of array of object
metadata map of array of object
entity object
stringHeaders map of array of string
cookies map of NewCookie

Example

This data type is abstract. The example below may be incomplete. More accurate examples can be found in subtypes pages.
{
  "lastModified" : 12345,
  "entityTag" : {
    "value" : "...",
    "weak" : true
  },
  "date" : 12345,
  "language" : "...",
  "location" : "...",
  "statusInfo" : {
    "reasonPhrase" : "...",
    "statusCode" : 12345,
    "family" : "INFORMATIONAL"
  },
  "allowedMethods" : [ "...", "..." ],
  "mediaType" : {
    "parameters" : {
      "property1" : "...",
      "property2" : "..."
    },
    "type" : "...",
    "wildcardType" : true,
    "subtype" : "...",
    "wildcardSubtype" : true
  },
  "status" : 12345,
  "length" : 12345,
  "links" : [ {
    "title" : "...",
    "uri" : "...",
    "rel" : "...",
    "uriBuilder" : { },
    "type" : "...",
    "rels" : [ "...", "..." ],
    "params" : {
      "property1" : "...",
      "property2" : "..."
    }
  }, {
    "title" : "...",
    "uri" : "...",
    "rel" : "...",
    "uriBuilder" : { },
    "type" : "...",
    "rels" : [ "...", "..." ],
    "params" : {
      "property1" : "...",
      "property2" : "..."
    }
  } ],
  "headers" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "metadata" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "entity" : { },
  "stringHeaders" : {
    "property1" : [ "...", "..." ],
    "property2" : [ "...", "..." ]
  },
  "cookies" : {
    "property1" : {
      "expiry" : 12345,
      "httpOnly" : true,
      "domain" : "...",
      "secure" : true,
      "comment" : "...",
      "name" : "...",
      "value" : "...",
      "version" : 12345,
      "path" : "...",
      "maxAge" : 12345
    },
    "property2" : {
      "expiry" : 12345,
      "httpOnly" : true,
      "domain" : "...",
      "secure" : true,
      "comment" : "...",
      "name" : "...",
      "value" : "...",
      "version" : 12345,
      "path" : "...",
      "maxAge" : 12345
    }
  }
}