Retrieving SR Asset Relation Details

Service Name: GetSRAssetRelationDetails | Description
Retrieves all the list of Workorders

URL

http://<<Customer_URL>>/REST/Summit_RESTWCF.svc/RESTService/Common WS_JsonObjCall
Replace <Customer_URL> with the customer’s Host name.

Method

POST

Request

Sample Request
{
  "ServiceName": "GetSRAssetRelationDetails",
  "objCommonParameters": {
    "_ProxyDetails": {
      "AuthType": "APIKEY",
      "APIKey": "XXXXX",
      "ProxyID": 0,
      "ReturnType": "JSON"
    },
    "InstanceCode": "InfoTe",
    "SrTicket_No": "SR135"
  }
}

Request Parameters

Parameter NameTypeDescriptionNotes

InstanceCode * 

STRING

Unique Identification of the Organization.


SrTicket_No 

INTEGER

Name of the Instance.

For Example: Information Technology

* Indicates mandatory fields

Run API

Go to the Web Services page in the SummiAI application to execute the APIs and see the response.



Response

Sample Response
{"Errors":"","Message":"","OrgID":0,"Output":"{\"SRAssetDetails\":{\"SRAssetDetails\":[{\"ID\ ":101,\"Asset\":\"Desktop\"	,\"Consultant	ID\":\"SU0010\",\"Serial No\":\"Test1234\",\"Host Name\":null,\"Asset ID\":101},{\"ID\":102,\"Asset\":\"Desktop\",
\"Consultant ID\":\"SU0010\",\"Serial No\":\"Test1234\",\"Host Name\":null,\"Asset ID\":102}],","OutputObject":null,"TokenID":null}

Note:

The Response Parameters are dynamic and based on the selections made by the user.

Status and Error Codes

See: Status and Error Messages