PwsGetResourceSchedulingRoleData

Overview


This web service is used to retrieve scheduling data for an existing role as either a requester or a scheduler depending on the authenticated user's permissions and specified mode.

Request Format


PwsGetResourceSchedulingRoleData Request
  • PwsGetResourceSchedulingRoleData
    • serviceRequest: PwsGetResourceSchedulingRoleDataRq
      • RequestId: Int32
      • SessionTicket: String
      • IncludeActualTimeDataFlag: Boolean
      • IncludeConcurrentRolesFlag: Boolean
      • IncludeTaskDataFlag: Boolean
      • MinimumWeekCount: Int32
      • ProjectIdentity: PwsProjectRef
      • ProjectRoleIdentities: PwsProjectRoleRef[]
      • RequestOrScheduleMode: String
      • StartDate: DateTime

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No

 

Click here for more information.

1

SessionTicket

String

Yes 

 

Click here for more information.

AYWldorWOTDGpNGsIme5tA==

IncludeActualTimeDataFlag

Boolean

No 

false 

If 'true', actual time data will be included in the response.

true

IncludeConcurrentRolesFlag

Boolean

No

false

If 'true', roles that are not specifically requested, but are associated with the same resource as a requested role over the specified time frame are included in the response.

true

IncludeTaskDataFlag

Boolean

No

false

If set to 'true', task data associated with the role will be returned.

true

MinimumWeekCount

Int32

No

 

If specified, the response will include at minimum the specified number of weeks worth of data, even if the specified roles have no scheduling data over some or all of the date range,

10

ProjectIdentity

PwsProjectRef

Either a ProjectIdentity or ProjectRoleIdentities must be specified

 

The project identity, to retrieve scheduling data for the roles on a project,


ProjectRoleIdentities

PwsProjectRoleRef[]

Either a ProjectIdentity or ProjectRoleIdentities must be specified

 

The role identities, to retrieve scheduling data for a set of roles (that may or may not be on the same project).


RequestOrScheduleMode

String

Yes

 

"R" for Requester – retrieve requested data.

"A" for Scheduler – retrieve booked data.

A

StartDate

DateTime

 Yes

 

Only data from this point forward will be returned. The data will extend indefinitely into the future so as to include all forward-looking scheduling data.

2020-01-06T00:00:00.000Z

Request Usage Example(s)


Example 01 - Project Specified
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:sch="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsGetResourceSchedulingRoleData>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AYWldorWOTDGpNGsIme5tA==</req:SessionTicket>
            <sch:IncludeActualTimeDataFlag>true</sch:IncludeActualTimeDataFlag>
            <sch:IncludeConcurrentRolesFlag>true</sch:IncludeConcurrentRolesFlag>
            <sch:IncludeTaskDataFlag>true</sch:IncludeTaskDataFlag>
            <sch:MinimumWeekCount>10</sch:MinimumWeekCount>
            <sch:ProjectIdentity>
               <com:ProjectCode>P001584-001</com:ProjectCode>
            </sch:ProjectIdentity>
            <sch:RequestOrScheduleMode>A</sch:RequestOrScheduleMode>
            <sch:StartDate>2020-01-06T00:00:00.000Z</sch:StartDate>
         </pws:serviceRequest>
      </pws:PwsGetResourceSchedulingRoleData>
   </soapenv:Body>
</soapenv:Envelope>
Example 02 - Project Role Specified
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:sch="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsGetResourceSchedulingRoleData>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AYWldorWOTDGpNGsIme5tA==</req:SessionTicket>
            <sch:IncludeActualTimeDataFlag>true</sch:IncludeActualTimeDataFlag>
            <sch:IncludeConcurrentRolesFlag>true</sch:IncludeConcurrentRolesFlag>
            <sch:IncludeTaskDataFlag>true</sch:IncludeTaskDataFlag>
            <sch:MinimumWeekCount>10</sch:MinimumWeekCount>
            <sch:ProjectRoleIdentities>
               <com:PwsProjectRoleRef>
                  <com:ProjectRoleUid>1152921504609839438</com:ProjectRoleUid>
               </com:PwsProjectRoleRef>
               <com:PwsProjectRoleRef>
                  <com:ProjectRoleUid>1152921504609839858</com:ProjectRoleUid>
               </com:PwsProjectRoleRef>
            </sch:ProjectRoleIdentities>
            <sch:RequestOrScheduleMode>R</sch:RequestOrScheduleMode>
            <sch:StartDate>2020-01-06T00:00:00.000Z</sch:StartDate>
         </pws:serviceRequest>
      </pws:PwsGetResourceSchedulingRoleData>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


PwsGetResourceSchedulingRoleData Response

Response Elements


Element

Data Type

Description

Sample Data

Messages

PwsMessage[]

The web service response status and message. Click here for more information.


ResponseId

Int32

Click here for more information.

1

Status

RequestStatus

 Click here for more information.

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2020-02-06T19:56:39.3674096Z

EndDate

DateTime

The last date in the time period for which data will be returned.

2020-03-15T00:00:00Z

ProjectRoles

PwsProjectRoleSchedule[]

This structure contains the complete set of information about the project roles' schedules within the specified time period.


RequestOrScheduleMode

String

"R" for Requester.

"A" for Scheduler.

R

Resources

PwsResourceSchedule[]

This structure contains the complete set of information about the resources' schedules (such as standard working hours, holidays, vacation time, etc) within the specified time period. All resources represented by the included project roles will be represented – including the effective resources on the roles as well as the identified candidates. This includes unnamed resources.


StartDate

DateTime

The first date in the time period for which data will be returned.

2020-01-06T00:00:00Z

WeekCount

Int32

The number of weeks within the specified time period.

10

Response Usage Example(s)


Example 01
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetResourceSchedulingRoleDataResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetResourceSchedulingRoleDataResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2020-02-06T19:56:39.3674096Z</ServerTimestampUtc>
            <a:EndDate>2020-03-15T00:00:00Z</a:EndDate>
            <a:ProjectRoles xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsProjectRoleSchedule>
                  <b:ActualBuckets/>
                  <b:BookedBuckets>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-01-06T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>2400</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                  </b:BookedBuckets>
                  <b:BookedHoursFlag>true</b:BookedHoursFlag>
                  <b:BookedMinutesAfterEndDate>0</b:BookedMinutesAfterEndDate>
                  <b:BookedMinutesPriorToStartDate>0</b:BookedMinutesPriorToStartDate>
                  <b:CanUpdateResourceFlag>false</b:CanUpdateResourceFlag>
                  <b:CanUpdateRoleOnlyHoursFlag>true</b:CanUpdateRoleOnlyHoursFlag>
                  <b:Candidates>
                     <b:PwsProjectRoleCandidate>
                        <b:AllowBookOwnTimeFlag>false</b:AllowBookOwnTimeFlag>
                        <b:AllowRequestOwnTimeFlag>false</b:AllowRequestOwnTimeFlag>
                        <b:AssignedCandidateFlag>true</b:AssignedCandidateFlag>
                        <b:RequestedCandidateFlag>false</b:RequestedCandidateFlag>
                        <b:RequesterCanRequestHoursFlag>true</b:RequesterCanRequestHoursFlag>
                        <b:RequesterCanSwitchToThisCandidateFlag>false</b:RequesterCanSwitchToThisCandidateFlag>
                        <b:ResourceIdentity>
                           <b:ResourceDisplayName>Matt</b:ResourceDisplayName>
                           <b:ResourceId i:nil="true"/>
                           <b:ResourceReferenceSystemId>IT (USA) - 01</b:ResourceReferenceSystemId>
                           <b:ResourceUid>1152921504607057128</b:ResourceUid>
                        </b:ResourceIdentity>
                        <b:SchedulerCanBookHoursFlag>true</b:SchedulerCanBookHoursFlag>
                        <b:SchedulerCanSwitchToThisCandidateFlag>true</b:SchedulerCanSwitchToThisCandidateFlag>
                        <b:SelectedCandidateFlag>true</b:SelectedCandidateFlag>
                        <b:UnnamedCandidateCostCenterIdentity i:nil="true"/>
                        <b:UnnamedCandidateFlag>false</b:UnnamedCandidateFlag>
                        <b:UnnamedCandidateLocationIdentity i:nil="true"/>
                        <b:UnnamedCandidateResourceTypeIdentity i:nil="true"/>
                        <b:UnnamedCandidateTitleIdentity i:nil="true"/>
                     </b:PwsProjectRoleCandidate>
                  </b:Candidates>
                  <b:ColorMapBackgroundColor>
                     <b:B>0</b:B>
                     <b:G>192</b:G>
                     <b:R>0</b:R>
                  </b:ColorMapBackgroundColor>
                  <b:ConcurrentRoleFlag>false</b:ConcurrentRoleFlag>
                  <b:DefaultSchedulingMode>W</b:DefaultSchedulingMode>
                  <b:EffectiveCriteriaSet>A</b:EffectiveCriteriaSet>
                  <b:EndDate i:nil="true"/>
                  <b:InactiveFlag>false</b:InactiveFlag>
                  <b:NotesBuckets>
                     <b:PwsProjectRoleNotesBucket>
                        <b:BucketStartDate>2020-01-06T00:00:00Z</b:BucketStartDate>
                        <b:Notes xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                           <c:string>Monday</c:string>
                           <c:string>Tuesday</c:string>
                           <c:string>Wednesday</c:string>
                           <c:string>Thursday</c:string>
                           <c:string>Friday</c:string>
                           <c:string>Saturday</c:string>
                           <c:string>Sunday</c:string>
                        </b:Notes>
                     </b:PwsProjectRoleNotesBucket>
                  </b:NotesBuckets>
                  <b:PreviousRequestedBuckets/>
                  <b:ProjectIdentity>
                     <b:ProjectCode>P001584-001</b:ProjectCode>
                     <b:ProjectId i:nil="true"/>
                     <b:ProjectUid>1152921504607459307</b:ProjectUid>
                  </b:ProjectIdentity>
                  <b:ProjectName>Request Or Book Role Hours</b:ProjectName>
                  <b:ProjectRoleIdentity>
                     <b:ExternalSystemIdentifier i:nil="true"/>
                     <b:ProjectRoleId i:nil="true"/>
                     <b:ProjectRoleUid>1152921504609839438</b:ProjectRoleUid>
                  </b:ProjectRoleIdentity>
                  <b:ProjectRoleName>Developer</b:ProjectRoleName>
                  <b:RequestedBuckets>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-01-06T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                           <c:short>480</c:short>
                           <c:short>480</c:short>
                           <c:short>480</c:short>
                           <c:short>480</c:short>
                           <c:short>480</c:short>
                           <c:short>0</c:short>
                           <c:short>0</c:short>
                        </b:DailyMinutes>
                        <b:SchedulingMode>D</b:SchedulingMode>
                        <b:WeeklyMinutes i:nil="true"/>
                     </b:PwsProjectRoleHoursBucket>
                  </b:RequestedBuckets>
                  <b:ResourceIdentity i:nil="true"/>
                  <b:StartDate>2020-01-01T00:00:00</b:StartDate>
                  <b:TaskHoursBuckets/>
                  <b:Timestamp>AAAAABViwhk=</b:Timestamp>
                  <b:UpdateResourceUnavailableReason>RLB</b:UpdateResourceUnavailableReason>
                  <b:UpdateRoleOnlyHoursUnavailableReason i:nil="true"/>
               </b:PwsProjectRoleSchedule>
               <b:PwsProjectRoleSchedule>
                  <b:ActualBuckets/>
                  <b:BookedBuckets>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-01-27T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-02-03T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-02-10T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-02-17T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-02-24T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                  </b:BookedBuckets>
                  <b:BookedHoursFlag>true</b:BookedHoursFlag>
                  <b:BookedMinutesAfterEndDate>0</b:BookedMinutesAfterEndDate>
                  <b:BookedMinutesPriorToStartDate>0</b:BookedMinutesPriorToStartDate>
                  <b:CanUpdateResourceFlag>false</b:CanUpdateResourceFlag>
                  <b:CanUpdateRoleOnlyHoursFlag>true</b:CanUpdateRoleOnlyHoursFlag>
                  <b:Candidates>
                     <b:PwsProjectRoleCandidate>
                        <b:AllowBookOwnTimeFlag>false</b:AllowBookOwnTimeFlag>
                        <b:AllowRequestOwnTimeFlag>false</b:AllowRequestOwnTimeFlag>
                        <b:AssignedCandidateFlag>true</b:AssignedCandidateFlag>
                        <b:RequestedCandidateFlag>false</b:RequestedCandidateFlag>
                        <b:RequesterCanRequestHoursFlag>true</b:RequesterCanRequestHoursFlag>
                        <b:RequesterCanSwitchToThisCandidateFlag>false</b:RequesterCanSwitchToThisCandidateFlag>
                        <b:ResourceIdentity>
                           <b:ResourceDisplayName>Matt</b:ResourceDisplayName>
                           <b:ResourceId i:nil="true"/>
                           <b:ResourceReferenceSystemId>IT (USA) - 01</b:ResourceReferenceSystemId>
                           <b:ResourceUid>1152921504607057128</b:ResourceUid>
                        </b:ResourceIdentity>
                        <b:SchedulerCanBookHoursFlag>true</b:SchedulerCanBookHoursFlag>
                        <b:SchedulerCanSwitchToThisCandidateFlag>true</b:SchedulerCanSwitchToThisCandidateFlag>
                        <b:SelectedCandidateFlag>true</b:SelectedCandidateFlag>
                        <b:UnnamedCandidateCostCenterIdentity i:nil="true"/>
                        <b:UnnamedCandidateFlag>false</b:UnnamedCandidateFlag>
                        <b:UnnamedCandidateLocationIdentity i:nil="true"/>
                        <b:UnnamedCandidateResourceTypeIdentity i:nil="true"/>
                        <b:UnnamedCandidateTitleIdentity i:nil="true"/>
                     </b:PwsProjectRoleCandidate>
                  </b:Candidates>
                  <b:ColorMapBackgroundColor>
                     <b:B>0</b:B>
                     <b:G>192</b:G>
                     <b:R>0</b:R>
                  </b:ColorMapBackgroundColor>
                  <b:ConcurrentRoleFlag>false</b:ConcurrentRoleFlag>
                  <b:DefaultSchedulingMode>W</b:DefaultSchedulingMode>
                  <b:EffectiveCriteriaSet>A</b:EffectiveCriteriaSet>
                  <b:EndDate i:nil="true"/>
                  <b:InactiveFlag>false</b:InactiveFlag>
                  <b:NotesBuckets/>
                  <b:PreviousRequestedBuckets/>
                  <b:ProjectIdentity>
                     <b:ProjectCode>P001584-001</b:ProjectCode>
                     <b:ProjectId i:nil="true"/>
                     <b:ProjectUid>1152921504607459307</b:ProjectUid>
                  </b:ProjectIdentity>
                  <b:ProjectName>Request Or Book Role Hours</b:ProjectName>
                  <b:ProjectRoleIdentity>
                     <b:ExternalSystemIdentifier i:nil="true"/>
                     <b:ProjectRoleId i:nil="true"/>
                     <b:ProjectRoleUid>1152921504609839858</b:ProjectRoleUid>
                  </b:ProjectRoleIdentity>
                  <b:ProjectRoleName>Team Lead</b:ProjectRoleName>
                  <b:RequestedBuckets>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-01-27T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-02-03T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-02-10T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-02-17T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                     <b:PwsProjectRoleHoursBucket>
                        <b:BucketStartDate>2020-02-24T00:00:00Z</b:BucketStartDate>
                        <b:DailyMinutes i:nil="true" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                        <b:SchedulingMode>W</b:SchedulingMode>
                        <b:WeeklyMinutes>480</b:WeeklyMinutes>
                     </b:PwsProjectRoleHoursBucket>
                  </b:RequestedBuckets>
                  <b:ResourceIdentity i:nil="true"/>
                  <b:StartDate>2020-01-01T00:00:00</b:StartDate>
                  <b:TaskHoursBuckets/>
                  <b:Timestamp>AAAAABVjRFU=</b:Timestamp>
                  <b:UpdateResourceUnavailableReason>RLB</b:UpdateResourceUnavailableReason>
                  <b:UpdateRoleOnlyHoursUnavailableReason i:nil="true"/>
               </b:PwsProjectRoleSchedule>
            </a:ProjectRoles>
            <a:RequestOrScheduleMode>R</a:RequestOrScheduleMode>
            <a:Resources xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsResourceSchedule>
                  <b:ActivePeriods>
                     <b:PwsResourceActivePeriod>
                        <b:BeginDate>2020-01-06T00:00:00Z</b:BeginDate>
                        <b:EndDate>2020-03-15T00:00:00Z</b:EndDate>
                     </b:PwsResourceActivePeriod>
                  </b:ActivePeriods>
                  <b:CostCenterIdentity>
                     <b:CostCenterId i:nil="true"/>
                     <b:CostCenterName>IT Team (USA)</b:CostCenterName>
                     <b:CostCenterNumber>IT Team (USA)</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606867365</b:CostCenterUid>
                  </b:CostCenterIdentity>
                  <b:EmailAddress>matt@revcorp.bb</b:EmailAddress>
                  <b:LocationIdentity>
                     <b:LocationId i:nil="true"/>
                     <b:LocationName>USA - Massachusetts</b:LocationName>
                     <b:LocationUid>1152921504606855985</b:LocationUid>
                  </b:LocationIdentity>
                  <b:ProjectRoleIdentity i:nil="true"/>
                  <b:ResourceIdentity>
                     <b:ResourceDisplayName>Matt</b:ResourceDisplayName>
                     <b:ResourceId i:nil="true"/>
                     <b:ResourceReferenceSystemId>IT (USA) - 01</b:ResourceReferenceSystemId>
                     <b:ResourceUid>1152921504607057128</b:ResourceUid>
                  </b:ResourceIdentity>
                  <b:ResourceTypeIdentity>
                     <b:ResourceTypeCode>FTE</b:ResourceTypeCode>
                     <b:ResourceTypeId i:nil="true"/>
                     <b:ResourceTypeName>Full Time Employee</b:ResourceTypeName>
                     <b:ResourceTypeUid>1152921504606847348</b:ResourceTypeUid>
                  </b:ResourceTypeIdentity>
                  <b:StandardWorkingMinutes xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                     <c:int>480</c:int>
                     <c:int>480</c:int>
                     <c:int>480</c:int>
                     <c:int>480</c:int>
                     <c:int>480</c:int>
                     <c:int>0</c:int>
                     <c:int>0</c:int>
                  </b:StandardWorkingMinutes>
                  <b:TitleIdentity>
                     <b:DepartmentIdentity>
                        <b:DepartmentId i:nil="true"/>
                        <b:DepartmentName>IT Team</b:DepartmentName>
                        <b:DepartmentUid>1152921504606854184</b:DepartmentUid>
                     </b:DepartmentIdentity>
                     <b:TitleId i:nil="true"/>
                     <b:TitleName>Level 3</b:TitleName>
                     <b:TitleUid>1152921504606876417</b:TitleUid>
                  </b:TitleIdentity>
                  <b:WorkingMinutes>
                     <b:PwsDailyWorkingMinutes>
                        <b:Date>2020-01-20T00:00:00Z</b:Date>
                        <b:HolidayMinutes>480</b:HolidayMinutes>
                        <b:TimeOffMinutes>0</b:TimeOffMinutes>
                        <b:WorkingMinutes>0</b:WorkingMinutes>
                     </b:PwsDailyWorkingMinutes>
                  </b:WorkingMinutes>
               </b:PwsResourceSchedule>
            </a:Resources>
            <a:StartDate>2020-01-06T00:00:00Z</a:StartDate>
            <a:WeekCount>10</a:WeekCount>
         </PwsGetResourceSchedulingRoleDataResult>
      </PwsGetResourceSchedulingRoleDataResponse>
   </s:Body>
</s:Envelope>

PwsGetResourceSchedulingRoleData - Common Errors and Warnings


ErrorNumber

ErrorCode

ErrorText

10111RequiredFieldMissingA required field is missing: RequestOrScheduleMode.
10111RequiredFieldMissingA required field is missing: StartDate.
10126InvalidEnumerationValueSpecifiedAn invalid value was specified for RequestOrScheduleMode. Valid values are A, R.