POST api/SocialDriver/CreateExternalService
Add a service to a user
Request Information
URI Parameters
None.
Body Parameters
CreateExtendedServiceRequest
CreateExtendedServiceRequest| Name | Description | Type | Additional information | 
|---|---|---|---|
| IMEI | 
                         The service imei if required, set to null if not required  | 
                    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.  | 
                
| UserId | 
                         The user id you want to put the service onto  | 
                    integer | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "IMEI": "sample string 1",
  "ServiceRegistration": "sample string 2",
  "RecoveryProviderId": 1,
  "ServiceOrigin": 0,
  "UserId": 3
}
        application/xml, text/xml
            Sample:
        <CreateExtendedServiceRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IMEI>sample string 1</IMEI> <ServiceRegistration>sample string 2</ServiceRegistration> <RecoveryProviderId>1</RecoveryProviderId> <ServiceOrigin>GreatBritain</ServiceOrigin> <UserId>3</UserId> </CreateExtendedServiceRequest>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
200 on success
HttpResponseMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | Version | 
                             None.  | 
                |
| Content | HttpContent | 
                             None.  | 
                |
| StatusCode | HttpStatusCode | 
                             None.  | 
                |
| ReasonPhrase | string | 
                             None.  | 
                |
| Headers | Collection of Object | 
                             None.  | 
                |
| RequestMessage | HttpRequestMessage | 
                             None.  | 
                |
| IsSuccessStatusCode | boolean | 
                             None.  |