Overview
This web service saves changes to time cards. This service should be used to save changes to existing time cards or insert new time cards or to delete time cards.
The service is written such that a failure to save or update a time card or time off card, will not prevent the saving of other changes, however any failure to save will prevent the submit from occurring, even if the service requests it. Individual errors processing time cards or time off cards are reported in the response.
Request Format
- PwsSaveTimeCardsAndRto
- serviceRequest: PwsSaveTimeCardsAndRtoRq
- RequestId: Int32
- SessionTicket: String
- AdministratorComments: String
- CalculateApproverFlag: Boolean *** deprecated ***
- CalculateRevalueValuesFlag: Boolean *** deprecated ***
- InsertIfNotFoundOnUpdateFlag: Boolean
- PreserveTimeCardStatusFlag: Boolean *** deprecated ***
- SaveTimeCards: PwsResourceTimeCard [???]
- SaveTimeOffCards: PwsResourceTimeOffCard [???]
- SendNotificationEmailFlag: Boolean
- AbortOnFailureFlag: Boolean
- serviceRequest: PwsSaveTimeCardsAndRtoRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | Click here for more information. | 1 | ||
SessionTicket | String | Click here for more information. | AdASLLZalvehjm71D72agw== | ||
AdministratorComments | String | Administrator comments for entering time on behalf of others | Save Time Cards or Reported Time Off | ||
CalculateApproverFlag | Boolean | *** deprecated *** | *** deprecated *** | ||
CalculateRevalueValuesFlag | Boolean | *** deprecated *** | *** deprecated *** | ||
InsertIfNotFoundOnUpdateFlag | Boolean | false | If set to 'true', the specified time card or time off time card details will be inserted as a new time card or time off time card if it does not currently exist | false | |
PreserveTimeCardStatusFlag | Boolean | *** deprecated *** | *** deprecated *** | ||
SaveTimeCards | The details of the time card to be saved / updated | ||||
SaveTimeOffCards | The details of the time off time card to be saved / updated | ||||
SendNotificationEmailFlag | Boolean | If set to 'true', a notification email will be sent to the resource associated with the time card. This is applicable only when entering time on behalf of others. | false | ||
AbortOnFailureFlag | Boolean | If set to 'true' a failure to save or update a time card or time off card, will prevent the saving of other changes | true |
Request Usage Example(s)
Response Format
- PwsSaveTimeCardsAndRtoResponse
- PwsSaveTimeCardsAndRtoResult: PwsSaveTimeCardsAndRtoRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- TimeOffCardResults: PwsSaveTimeOffCardItemResult [???]
- TimecardResults: PwsSaveTimecardItemResult [???]
- PwsSaveTimeCardsAndRtoResult: PwsSaveTimeCardsAndRtoRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. |
| |
ResponseId | Int32 | Click here for more information. | 1 |
Status | Click here for more information. | Ok | |
ServerTimestampUtc | DateTime | Click here for more information. | 2018-03-14T14:42:01.0557418Z |
TimeOffCardResults | The results from saving a time off card | ||
TimecardResults | The results from saving a time off card |
|