Establishment

Namespace: CCPEntities

Summary

Establishments are physical or administrative locations that belong to a CCPEntities.Transporters.
This entity is used to specify the physical address of the establishment and it's fleet.

Syncable

This object is syncable

Properties

Name Type FixedLength MaxLength/Range Identity Summary Value
key EstablishmentId* Edm.Int32 False true The establishment identifier.
OwnerTransporterId* Edm.Int32 False The CCPEntities.Transporter that owns the CCPEntities.Establishment.
Name Edm.String False 75 The name of the establishment
PlanningJobId Edm.Int32 False An optional CCPEntities.PlanningJob identifier.
When specified, the CCPEntities.Establishment is used by the CCPEntities.PlanningJob
and it will be deleted when the planning job is being deleted.
Deleted* Edm.Boolean False Indicates whether this CCPEntities.Establishment is logically deleted.
LastUpdated Edm.DateTime False A timestamp (in UTC) of the last update of the entity in CCP. Check this property in order to know if
you are in sync with CCP.
Address AddressFragment False The physical address where the CCPEntities.Establishment located.
Properties marked with a * are required

Navigation Properties

Name Type Multiplicity Summary
Fleet FleetSegment 0..1 A collection of CCPEntities.FleetSegments that specify the number of
available vehicles per CCPEntities.VehicleType.
OwnerTransporter Transporter * The CCPEntities.Transporter that owns the CCPEntities.Establishment.
PlanningJob PlanningJob * An optional CCPEntities.PlanningJob.
When specified, the CCPEntities.Establishment is used by the CCPEntities.PlanningJob
and it will be deleted when the planning job is being deleted.
Vehicles Vehicle 0..1 The vehicles associated with this establishments

Additional Information

No additional information found

Example

https://www.cabmanonline.nl/CCPService/DataServiceCCP.svc/Establishments