Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...


Excerpt

This method is updating a service request's response information and sets the service request to life cycle state "Responded". A single service request can be responded by each call.

Tip

Available from CRM.COM R5.0.0

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

service_request_identifier

(mandatory)

Service Request identifier  

The identifier of the service request that should be updated. The allowed service request identifier fields are the following:

Include Page
V4:service_request_identifier
V4:service_request_identifier

description

(optional)

StringA description of the service request that will be updated

notes

(optional)

StringShared notes
fir
for the service request

status_identifier

(mandatory)

Service Request Status Identifier

The status of the service request. The allowed service request status identifier fields are the following:

Include Page
V4:service_request_status_identifier
V4:service_request_status_identifier

response

(mandatory)

Service Request Response ObjectThe response that will be provided for the specified service request

fields_set

(optional)

List of Strings, comma separated

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Anchor
sr_respond referred objects parameters
sr_respond referred objects parameters
Referred Parameter Objects Data

...

Expand
titleExample 1

HTTP Method: POST 


Request:

Body:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "token" : "{{token}}",
    "service_request_identifier" : { "number" : "SR00000275" },
    "status_identifier" : {   "name" : "Responded" },
    "response" :
        {
            "category_identifier" : { "name" : "SR Resp. Category"},
            "responded_by_identifier" : { "username" : "mpadministrator"  },
            "response_date" : "2016-07-18T12:58:39",
            "description" : "Response Description"
        }
}  	

 

 



Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "accounts_receivable": {
      "account_owner": {
        "last_name": "Jobs",
        "middle_name": null,
        "life_cycle_state": "FINANCIAL",
        "company_profile": null,
        "title": null,
        "first_name": "Philippos",
        "type": "PERSON",
        "id": "39F2067A3A4A4AE886739E4643820B28",
        "name": "Philippos Jobs",
        "company_name": null,
        "demographics": {
          "gender": "MALE",
          "passport_issued_by_country": null,
          "social_security_number": null,
          "passport_number": null,
          "industry_sector": null,
          "name_day": {
            "month": null,
            "day": null
          },
          "date_of_birth": {
            "month": null,
            "day": null,
            "year": null
          },
          "id_number": "2121",
          "industry": null,
          "id_issued_by_country": null
        }
      },
      "life_cycle_state": "ACTIVE",
      "number": "ACR0000000198",
      "id": "732CE3E9D1C44A9486284DDEFF4743FA",
      "name": "ACR0000000198 Philippos Jobs"
    },
    "life_cycle_state": "RESPONDED",
    "number": "SR00000275",
    "id": "CFD293E0B3E84ACE8C44673A6515EE4A",
    "description": null
  }
}


...