PUT api/SocialDriver/UpdateExternalService

Update a service

Request Information

URI Parameters

None.

Body Parameters

UpdateExtendedServiceRequest

UpdateExtendedServiceRequest
NameDescriptionTypeAdditional information
ServiceId

The id of the service to update

integer

None.

IMEI

The service imei if required, set to null if you want to remove the imei

string

None.

ServiceRegistration

The service registration

string

None.

RecoveryProviderId

The id of the recovery provider or null if one isn't required

integer

None.

ServiceOrigin

The origin of the services created

VehicleOrigin

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceId": 1,
  "IMEI": "sample string 2",
  "ServiceRegistration": "sample string 3",
  "RecoveryProviderId": 1,
  "ServiceOrigin": 0
}

application/xml, text/xml

Sample:
<UpdateExtendedServiceRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ServiceId>1</ServiceId>
  <IMEI>sample string 2</IMEI>
  <ServiceRegistration>sample string 3</ServiceRegistration>
  <RecoveryProviderId>1</RecoveryProviderId>
  <ServiceOrigin>GreatBritain</ServiceOrigin>
</UpdateExtendedServiceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200 on success

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.