Retrieving SR Asset Relation Details

Retrieving SR Asset Relation Details

Service Name: GetSRAssetRelationDetails | Description

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

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

Request Parameters

Parameter Name

Type

Description

Notes

Parameter Name

Type

Description

Notes

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

{"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