Documentation ¶
Index ¶
- func GetDataFromWorkday(workerID string, startDate string, endDate string) ([]byte, error)
- func SortCalculatedTimeBlocks(TimeBlocks map[string]WorkerTimeBlockInfo, data []byte) (int, error)
- type BlockID
- type CalculatedTimeBlock
- type CalculatedTimeBlockData
- type CalculationTagReference
- type StatusReference
- type TimeBlockEnvelope
- type WorkerTimeBlockInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataFromWorkday ¶
func SortCalculatedTimeBlocks ¶
func SortCalculatedTimeBlocks(TimeBlocks map[string]WorkerTimeBlockInfo, data []byte) (int, error)
Types ¶
type CalculatedTimeBlock ¶
type CalculatedTimeBlock struct { Worker_Time_Block_Reference_ID []BlockID `xml:"Worker_Time_Block_Reference>ID"` Calculated_Time_Block_Data []CalculatedTimeBlockData `xml:"Calculated_Time_Block_Data"` }
type CalculatedTimeBlockData ¶
type CalculatedTimeBlockData struct { In_Time string `xml:"In_Time"` Out_Time string `xml:"Out_Time"` Calculated_Quantity string `xml:"Calculated_Quantity"` Status_Reference StatusReference `xml:"Status_Reference"` Calculation_Tag_Reference CalculationTagReference `xml:"Calculation_Tag_Reference"` }
type CalculationTagReference ¶
type StatusReference ¶
type TimeBlockEnvelope ¶
type TimeBlockEnvelope struct {
Calculated_Time_Block []CalculatedTimeBlock `xml:"Body>Get_Calculated_Time_Blocks_Response>Response_Data>Calculated_Time_Block"`
}
Click to show internal directories.
Click to hide internal directories.