Create a service disposition

post

/services/rest/connect/v1.4/serviceDispositions

Request

Body ()
The hierarchical service disposition that provides an option for classifying and recording how incidents are ultimately resolved.
Root Schema : serviceDispositions
Type: object
The hierarchical service disposition that provides an option for classifying and recording how incidents are ultimately resolved.
Show Source
Nested Schema : namedIDs-serviceDispositions-adminVisibleInterfaces
Type: object
The named ID that can be included in a list.
Show Source
  • Minimum Value: 1
    Maximum Value: 9223372036854776000
    The unique identifier of the object. This is the key for the list entry.
  • Maximum Length: 255
    The name used to look up the object.
Nested Schema : serviceDispositions-descriptions
Type: object
The language-specific string used for localization. Labels are assembled in a list that is associated with a particular text field.
Show Source
Nested Schema : dispositionHierarchy
Type: array
The hierarchical service disposition that provides an option for classifying and recording how incidents are ultimately resolved. It is the reference to a resource in 'serviceDispositions' collection. Only ID or lookupName can be provided to specify the resources.
Show Source
Nested Schema : serviceDispositions-names
Type: object
The language-specific strings used for localization of fields. The label text cannot be empty or null. The labels are assembled in a list associated with a particular text field.
Show Source
Nested Schema : namedIDs-serviceDispositions-descriptions-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : items
Type: object
Nested Schema : namedIDs-serviceDispositions-names-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Back to Top

Response

Default Response

Body ()
Root Schema : serviceDispositions
Type: object
The hierarchical service disposition that provides an option for classifying and recording how incidents are ultimately resolved.
Show Source
Nested Schema : namedIDs-serviceDispositions-adminVisibleInterfaces
Type: object
The named ID that can be included in a list.
Show Source
  • Minimum Value: 1
    Maximum Value: 9223372036854776000
    The unique identifier of the object. This is the key for the list entry.
  • Maximum Length: 255
    The name used to look up the object.
Nested Schema : serviceDispositions-descriptions
Type: object
The language-specific string used for localization. Labels are assembled in a list that is associated with a particular text field.
Show Source
Nested Schema : dispositionHierarchy
Type: array
The hierarchical service disposition that provides an option for classifying and recording how incidents are ultimately resolved. It is the reference to a resource in 'serviceDispositions' collection. Only ID or lookupName can be provided to specify the resources.
Show Source
Nested Schema : serviceDispositions-names
Type: object
The language-specific strings used for localization of fields. The label text cannot be empty or null. The labels are assembled in a list associated with a particular text field.
Show Source
Nested Schema : namedIDs-serviceDispositions-descriptions-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : items
Type: object
Nested Schema : namedIDs-serviceDispositions-names-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Back to Top

Examples

Use POST with the following syntax to create a new service disposition object:

https://your_site_interface/services/rest/connect/version/serviceDispositions

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions

Request body example

{
"names": [
    {
    "labelText": "Returned",
    "language":
        {
        "id":1
        }
    },
    {
    "labelText": "Renvoyé",
    "language":
        {
        "id":8
        }
    }
    ],
"parent":
    {
    "id":39
    }
}

Note:

The names array is required for service dispositions. It contains a list of names, one for each supported language.

Response body example

{
  "id": 69,
  "lookupName": "Returned",
  "adminVisibleInterfaces": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/69/
         adminVisibleInterfaces"
      }
    ]
  },
  "descriptions": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/69/
         descriptions"
      }
    ]
  },
  "displayOrder": 1,
  "dispositionHierarchy": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/69/
         dispositionHierarchy"
      }
    ]
  },
  "name": "Returned",
  "names": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/69/names"
      }
    ]
  },
  "parent": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/39"
      },
      {
        "rel": "canonical",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/39"
      },
      {
        "rel": "describedby",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/
         serviceDispositions",
        "mediaType": "application/schema+json"
      }
    ]
  },
  "productLinks": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/69/
         productLinks"
      }
    ]
  },
  "links": [
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/69"
    },
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceDispositions/69"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/
       serviceDispositions",
      "mediaType": "application/schema+json"
    }
  ]
}
Back to Top