Budget

Namespace: CCPEntities

Summary

Budgets are used to keep track of a CCPEntities.Travelers personal budget assigned for transportation.

Syncable

This object is syncable

Properties

Name Type FixedLength MaxLength/Range Identity Summary Value
key BudgetId* Edm.Int32 False true
TypeFlags* Edm.Int32 False Type of the budget, can be more than one type. Each type is linked to a maximum number of that type.
MaxDistance Edm.Double False Maximum number of a distance unit that may be traveled within this budget (distance unit should be determined by a general setting)
MaxMovements Edm.Int32 False Maximum number of movements that may be traveled within this budget
MaxZones Edm.Int32 False Maximum number of zones that may be traveled within this budget
MaxAmount Edm.Decimal False Maximum amount of money that may be spent within this budget
ValidFrom* Edm.DateTime False From date this budget is valid
ValidUntil* Edm.DateTime False Until date this budget is valid
Order* Edm.Int32 False When a traveler has multiple budgets this indicates the order in which the budgets should be depleted
IsBlocked* Edm.Boolean False Indicates whether this is still a usable budget or if it has been blocked
TravelerId* Edm.Int32 False Traveler this budget belongs to
ContractId Edm.Int32 False The contract may be set when there are multiple budgets active at the same time. Default this should be empty, only to be used in those cases where overlap occurs.
ContractorId Edm.Int32 False The contractor who is the creator of this budget
Deleted* Edm.Boolean False
LastUpdated Edm.DateTime False
Properties marked with a * are required

Navigation Properties

Name Type Multiplicity Summary
Contractor Contractor 0..1
Traveler Traveler 0..1
Contract Contract *

Additional Information

No additional information found

Example

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