CombineFavoriteLocations

Container: CCPService
Namespace: System.Data.Objects

Summary

Combines the favorite locations.

Method

The HTTP method for this function import is POST

Parameters

Name Type Summary
favoriteIds* Edm.Int32 The favorite ids of the favorites to combine.
newDescription Edm.String The new description.
address AddressFragment The address to use for the combination.
Parameters marked with a * are required

Return

Type: Entity type - Location
Is collection: false

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/CombineFavoriteLocations
Example body (sent with POST-request):
{
  "favoriteIds" : 1,
  "newDescription" : "newdescription",
  "address" : {
    "Street" : "street",
    "Number" : 1,
    "Addition" : "addition",
    "PostalCode" : "postalcode",
    "State" : "state",
    "Town" : "town",
    "CountryId" : 1,
    "Coordinates" : {
      "Latitude" : 51.55404,
      "Longitude" : 5.079524,
      "FormatName" : "Pixel"
    }
  }
}