Overview
This web service inserts or updates time card(s) and/or time off time card(s) based on a detailed time card / time off time card structure (PwsTimeCardDetail). This web service also deletes time card(s) and/or time off time card(s) based on a time card or time off time card reference structure (PwsTimeCardRef).
Request Format
- PwsSaveTimeCards
- serviceRequest: PwsSaveTimeCardsRq
- RequestId: Int32
- SessionTicket: String
- AdministratorComments: String
- DeleteTimeCards: PwsTimeCardRef [???]
- DeleteTimeOffCards: PwsTimeCardRef [???]
- EndDate: DateTime
- Estimates: PwsEstimate [???]
- InsertIfNotFoundOnUpdateFlag: Boolean
- ResourceIdentity: PwsResourceRef
- SaveTimeCards: PwsTimeCardDetail [???]
- SaveTimeOffCards: PwsTimeOffCardDetail [???]
- SendNotificationEmailFlag: Boolean
- StartDate: DateTime
- SubmitFlag: Boolean
- Tasks: PwsProjectTaskNote [???]
- SubmitSavedCardsOnlyFlag: Boolean
- SubmitTimeCardIdentity: PwsTimeCardRef
- PreserveTimeCardStatusFlag: Boolean
- serviceRequest: PwsSaveTimeCardsRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 |
|
| Click here for more information. |
|
SessionTicket | String |
|
| Click here for more information. |
|
AdministratorComments | String |
|
|
|
|
DeleteTimeCards | PwsTimeCardRef [???] |
|
|
|
|
DeleteTimeOffCards | PwsTimeCardRef [???] |
|
|
|
|
EndDate | DateTime |
|
|
|
|
Estimates | PwsEstimate [???] |
|
|
|
|
InsertIfNotFoundOnUpdateFlag | Boolean |
|
|
|
|
ResourceIdentity |
|
|
|
| |
SaveTimeCards | PwsTimeCardDetail [???] |
|
|
|
|
SaveTimeOffCards | PwsTimeOffCardDetail [???] |
|
|
|
|
SendNotificationEmailFlag | Boolean |
|
|
|
|
StartDate | DateTime |
|
|
|
|
SubmitFlag | Boolean |
|
|
|
|
Tasks | PwsProjectTaskNote [???] |
|
|
|
|
SubmitSavedCardsOnlyFlag | Boolean |
|
|
|
|
SubmitTimeCardIdentity |
|
|
|
| |
PreserveTimeCardStatusFlag | Boolean |
|
|
|
|
Request Usage Example(s)
Response Format
- PwsSaveTimeCardsResponse
- PwsSaveTimeCardsResult: PwsSaveTimeCardsRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- EstimateResults: PwsSaveEstimateResult[]
- Locations: PwsLocationSummary[]
- SubmittedFlag: Boolean
- TaskNoteResults: PwsSaveTaskNoteResult[]
- TimeOffCardResults: PwsSaveTimeOffCardResult[]
- TimecardResults: PwsSaveTimeCardResult[]
- PwsSaveTimeCardsResult: PwsSaveTimeCardsRs
Response Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Messages |
|
|
|
| |
ResponseId | Int32 |
|
| Click here for more information. |
|
Status | RequestStatus |
|
| Click here for more information. |
|
ServerTimestampUtc | DateTime |
|
| Click here for more information. |
|
EstimateResults |
|
|
|
| |
Locations |
|
|
|
| |
SubmittedFlag | Boolean |
|
|
|
|
TaskNoteResults |
|
|
|
| |
TimeOffCardResults |
|
|
|
| |
TimecardResults |
|
|
|
|