Starting Concept - Time Span Types
Time Span Types are used to identify the various kinds of time spans that you will be scheduling resources with. aftonApi facilitates resource scheduling by attaching one or more resources to time spans.
Each time span is assigned one and only one time span type.
For example time spans could be:
After you have created at least one time span type you can now start creating time spans and attach resources to them. You are essentially off and running at this point with the basic building blocks.
aftonApi Call Reference
Basic CRUD Operations
GET /timespantype/{timeSpanTypeCode} Get a Time Span Type
GET /timespantype/list Gets a list of all active Resource Types.
POST /timespantype Create a Time Span Type
POST /timespantype/{timeSpanTypeCode} Modify a Time Span Type
DELETE /timespantype/{timeSpanTypeCode} 'Soft' delete a Time Span Type
Basic Utility/Config Operations
POST /timespantype/{timeSpanTypeCode}/activate Activate a Time Span Type Activates a Time Span Type if it has been previously 'deleted'.
POST /timespantype/{timeSpanTypeCode}/pk Modifies the primary key (timeSpanTypeCode) on a TimeSpan Type This is a safe operation with aftonApi. All entity relationships are preserved.