This web service updates provider information by name.
PUT
Administrator Only.
{type}/SMI/{version}/provider/{from_name}/update
|
Parameter |
Description |
|
{from_name} |
The existing name of the provider. |
|
&key |
The API Key that is provided when your application has been registered. |
|
&secret |
The Shared Secret that is provided when your application has been registered. |
|
&toname |
Updated name of the organization. |
|
&geog |
Updated geographic location of the provider. |
|
&url |
Updated URL of the provider. |
|
&yrs |
Updated number of years the provider has been in business. |
Example:
https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/provider/TestProvider/update?key=98ce4910fc7f6fdb7af270ea9b3162b6&secret=eafe362499ecead24b3092ec12853590&toname=NewTestProvider&yrs=25&desc=This%20is%20a%20new%20description&url=www.newurl.com
Sample output of successful execution:
{
"result":
{
"returnCode": "0",
"errorMessage": "Operation Successful.",
"resultCount": 1,
"Bean-List": {
"ResourceProvider-Bean":[
{ "uuid": "229e9e95-d057-4e48-87a7-5f810c087789", "name": "NewTestProvider", "companySiteURL": "https://www.newurl.com", "description": "This is a new description", "providerTypeId": "null", "bussDesignation": "Accounting", "firstName": "null", "lastName": "null", "telephone": "null", "fax": "null", "email": "null", "title": "null", "streetAddress1": "null", "city": "null", "state": "null", "postalCode": "null", "country": "null", "yrsInBuss": "25", "streetAddress2": "null" }
]
}
}
}
| Copyright © 2012 CA. Alle Rechte vorbehalten. | Senden Sie CA Technologies eine E-Mail zu diesem Thema. |