Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourGreen
title5.0.0

The Appointment Search object represents the parameters for which a search for appointment offerings should be performed, when using the REST Work Item Appointment Search.   

Panel
borderColorgrey
bgColorwhitesmoke

On this page:

Table of Contents
maxLevel2

Related pages:

Appointment Search Object Format

Include Page
_Appointment Search Object Format
_Appointment Search Object Format

Appointment Search Object Properties 

Field Mappings

REST Work Item Appointment Search calls may result in an appointment search request being directed to either a ServiceDispatch system, a ServiceScheduling system, or both. (See the REST Work Item Appointment Search definition for details on how this is configured). 

As a result, all of the fields in the Appointment Service Object are passed through to ServiceDispatch and/or ServiceScheduling, which means that the field definitions depend on the API that they are passed to.

In addition, fields may, or may not be, mandatory, depending on the system(s) to which they are passed, with the exception of some fields which are mandated by ServiceBroker itself (and which are marked below).

ServiceDispatch Field Mappings

When an REST Work Item Appointment Search call results in an appointment search request being directed to ServiceDispatch, the fields that are present in the Appointment Search Object (below) with a ServiceDispatch field mapping will be passed to ServiceDispatch.

As a result, the definition of these fields depends on how ServiceDispatch handles the fields.

Please speak with the ServicePower customer services team for the field definitions.

ServiceScheduling Field Mappings

When an REST Work Item Appointment Search call results in an appointment search request being directed to ServiceScheduling, the fields that are present in the Appointment Search Object (below) with a ServiceScheduling field mapping will be passed to ServiceScheduling. 

As a result, the definition of these fields depends on how ServiceScheduling handles the fields.

Please see the appropriate version of the ServiceScheduling sp:ApptOfferRequest API for the field definitions.

PropertyTypeRequired?DescriptionField Mappings
ServiceDispatchServiceScheduling
BandobjectNoOptional field container object.--

Start
-
N/Aband.start

End
-
N/Aband.end

TimeBandID
-
N/Aband.timeBandID
CapacityCategory
-The capacity of the category.N/AcapacityCategory
Days
-The days available.N/Adays
DeliverySize
-pendingThe size of the delivery.cdeliverySize
EndDateDateTime-pendingThe scheduled end date/(End.Date+Time - Start.Date+Time) --> SearchProcedure.NoDaysend.date + end.time
ExtraDuration
-pending

SearchProcedure.JobDuration

extraDuration
ExtraOverhead
--N/AextraOverhead
ExtraSkillsarrayNoOptional array, containing one or more field container objects.--


SkillID
--ExtraSkills.SkillIdextraSkills.reqSkills[].skillID


SkillLevel
--ExtraSkills.SkillLevelextraSkills.reqSkills[].skillLevel


Mfg
--

ExtraSkills.BrandCode




ProdLine
--

ExtraSkills.ProductCode




ServiceType
--

ExtraSkills.ServiceType




WarrantyType
--

ExtraSkills.WarrantyType


ForceOptionsobjectNoOptional field container object.


IgnoreCapacity
--
forceOptions.IgnoreCapacity

IgnoreOverlap
--
forceOptions.IgnoreOverlap

InTray
--
forceOptions.InTray

InTrayWithSkill
--
forceOptions.InTrayWithSkill

NoLocalKnowledge
--
forceOptions.NoLocalKnowledge

NoTravel
--
forceOptions.NoTravel

Reassign
--
forceOptions.Reassign

SpareForceGo
--
forceOptions.SpareForceGo
GroupID
--
groupID
Importance
--
importance
Index
--
index
ReqProviderarrayNoOptional array, containing one or more field container objects.



objectNo




Id
--

MulPrefServiceCenter[]

PrefServiceCenterID

listReqEmps.reqEmp[].empID


MPX
--
listReqEmps.reqEmp[].MPX
LocationobjectYesMandatory field container object.


Latitude
--
latitude

Longitude
--
longitude

Postcode
Yes-ProductLocation.Postcodepostcode

Country
--ProductLocation.Country

SiteID
--ProductLocation.SiteIDsiteID
MaxOffers
--

SearchProcedure.NoAppt

numReq
NumReqTypes
--
numReqType
OfferOptionsobjectNoOptional field container object.


AllowEmptOT
--offerOptions.AllowEmpOT

ConsecShift
--offerOptions.ConsecShift

ContigShift
--offerOptions.ContigShift

DupUseEmpID
--offerOptions.DupUseEmpID

NonConsecShift
--offerOptions.NonConsecShift

OfferTextCost
--offerOptions.OfferTextCost

OfferTextEmpID
--offerOptions.OfferTextEmpID

SpareIgnVanStock
--offerOptions.SpareIgnVanStock

UseExtraDuration
--offerOptions.useExtraDuration
PickupSize
--
pickupSize
PreferredDate
--
preferredDate
PartarrayNoOptional array, containing one or more field container objects.



objectNo




VendorId
--



VendorName
--



Id
--



Type
--



Qty
--

Productobject

No

Optional field container object.




Mfg

-

-ProductInfo.BrandCode

ProdLine

-

-ProductInfo.ProductCode
PromSet

-

-
promSet
RankingCutoff
--RankingCutoff
ReqUnitobjectNoOptional field container object.


RUID
--
reqUnit.RUID

UnitType
--
reqUnit.unitType
SearchProcedureobjectNoOptional field container object.


ProcedureCode
--SearchProcedure.ProcedureCode

ElementAttributesarrayNoOptional array, containing one or more field container objects.




objectNo





Name
--

SearchProcedure.ElementAttributes[].Name





Value
--SearchProcedure.ElementAttributes[].Value
StartDateDateTime--SearchProcedure.StartDatestart.date + start.time
SortBy
--

SortBy (Rank - Servicer-Ranking, Date)


StdExtraDuration
--
stdExtraDuration
WarrantyType

-

-WarrantyType
WorkTypeobjectYesMandatory field container object.


Name
Yes-ServiceTypejobType