Skip to main content
Skip table of contents

CRM Service Request

URL

Verbs

Function

CRMSVRequest

GET

Query a list of Service Requests

CRMSVRequestPOSTCreate a new Service Request

CRMSVRequest/<serviceRequestNumber>

GET

Query a single Service Request

CRMSVRequest/<serviceRequestNumber>

POST

Update an existing Service Request

Supported modifiers

Query String

Definition

Sample
Available

modifiedSince

Return a list of Service Requests which have been modified since a date/time

modifiedSince=2012-09-11T10:30:00 

status

Return a list of Service Requests which have a particular status

status=Entered 
maxScheduledTimeStampReturn a list of Service Requests which have been scheduled less than or equal to this time. This would typically be used to get a list of upcoming Service Requests without looking too far into the future.maxScheduledTimeStamp=2013-09-11T10:30:00 
servicePersonReturn a list of Service Requests scheduled to a particular Service Person. This also respects additional service persons.servicePerson=CLARKC11 
serviceGroupReturn a list of Service Requests scheduled to a particular Service GroupserviceGroup=SOUTHERN 
locationReturn a list of Service Requests assigned to a particular Locationlocation=TOWNSVILLE 
treeName and treeBranchReturn a list of Service Requests assigned to a nominated branch of a nominated treetreeName=Colour-AUS&treeBranch=Blue 
effectiveStatusReturn a list of Service Requests which are either Open or Closed based on their effectiveStatuseffectiveStatus=Open 
includeActionPlansReturn the Action Plans for each Service Request as part of the Service Request responseincludeActionPlans=true 
ignoreContractJobWhen creating a Service Request with a Contract, standard behaviour is to assign the Job (if assigned) from the Contract to the Service Request. When set to true, this modifier will stop the Job from being assigned to the Service Request. Note that if you specify the Job code in the payload, it will be used in preference to the Job from the ContractignoreContractJob=true 
includeCommentsReturn the Log Comments for each Service Request as part of the Service Request responseincludeComments=true 
autoIssueInventory

Will generate Stock Issue / Return transactions for any Inventory items in the POST request.

**Note that if the Issue/Return fails, the POST is still successful, A&A can be used to alert someone to the failure using the new Programmatic Event "API - Failed to Auto-Issue Inventory" on the CRMSVRequest class.

autoIssueInventory=true 
callsOnlyReturn a list of CRM Calls rather than CRM Service RequestscallsOnly=true2019.1.0
includeTimesheetsReturn the Timesheets linked to the Service RequestincludeTimesheets=true2019.1.0
organisationReturn a list of Service Request assigned to a particular CRM Organisationorganisation=10002020.1
customerPONumberReturn a list of Service Requests that have a Customer Purchase Order numbercustomerPONumber=1234ABC2020.1

assignedTeam

Return a list of Service Requests assigned to a nominated team

assignedTeam=Admin

2021.1

Security Linked Menu

Menu Item
Located
Service RequestsCRM / Service & Support

Sample XML Response

<?xml version="1.0" encoding="UTF-8"?>
<ServiceRequest>
    <ServiceRequestNumber>1001</ServiceRequestNumber>
    <CrossReference/>
    <Summary>Lisa wants PC&apos;s installed - S/R</Summary>
    <ModifiedTimeStamp>2011-06-27T12:57:36</ModifiedTimeStamp>
    <ModifiedUser>SUPER</ModifiedUser>
    <Edition>22</Edition>
    <OidString>6854.2</OidString>
    <IsServiceRequest>true</IsServiceRequest>
    <IsCall>false</IsCall>
    <Location>02</Location>
    <Organisation>1000</Organisation>
    <Contact>10000</Contact>
    <Contract>1000</Contract>
    <ServiceLevel>
        <Level>1</Level>
        <Description>01 - Platnium Support</Description>
    </ServiceLevel>
    <ContactNotes/>
    <Problem>
        <Code>Install</Code>
        <ShortCode>Installation</ShortCode>
        <Description>Install Products/Services/Features as requested.</Description>
        <Notes>Install Products/Services/Features as requested.
Lisa would like PC to be fitted to the New Classrooms ready to be used by 15/2/2000.
Tech to ensure has enough cabling to connect all 30 units.</Notes>
    </Problem>
    <VersionDetail/>
    <Solution>
        <Code>Install</Code>
        <Description>Installed system as per request.</Description>
        <Notes>Cabling connected
PC&apos;s installed</Notes>
    </Solution>
    <ServicePerson>
        <Code>CORKC1</Code>
    </ServicePerson>
    <ServiceGroup>Helpdesk Service Group</ServiceGroup>
    <ServiceLevelAgreement>
        <Acknowledge>
            <TimeStamp/>
            <ActualBy/>
            <ActualTimeStamp/>
        </Acknowledge>
        <Resolution>
            <TimeStamp>2004-02-01T04:16:12</TimeStamp>
            <ActualBy>CORKC1</ActualBy>
            <ActualTimeStamp/>
        </Resolution>
        <Response>
            <TimeStamp>2004-02-01T02:16:12</TimeStamp>
            <ActualBy>CORKC1</ActualBy>
            <ActualTimeStamp/>
        </Response>
    </ServiceLevelAgreement>
    <AllocatedHours>0</AllocatedHours>
    <OpenedBy>SUPER</OpenedBy>
    <OpenedTimeStamp>2004-02-01T00:16:12</OpenedTimeStamp>
    <ScheduledBy>CORKC1</ScheduledBy>
    <ScheduledTimeStamp>2004-02-01T03:00:00</ScheduledTimeStamp>
    <ExpectedEndTimeStamp>2004-02-01T12:00:00</ExpectedEndTimeStamp>
    <ClosedBy>SUPER</ClosedBy>
    <ClosedTimeStamp>2004-04-26T21:59:00</ClosedTimeStamp>
    <CustomerPONumber>376</CustomerPONumber>
    <EffortToComplete>0</EffortToComplete>
    <EntryUser>SUPER</EntryUser>
    <EntryTimeStamp>2004-02-01T11:16:40</EntryTimeStamp>
    <FieldServiceCost>1025.00</FieldServiceCost>
    <FieldServiceCostTime>40.00</FieldServiceCostTime>
    <FieldServiceSell>1200.00</FieldServiceSell>
    <FieldServiceSellTime>120.00</FieldServiceSellTime>
    <FieldServiceServiceTime>7.00</FieldServiceServiceTime>
    <FieldServiceTravelTime>2.00</FieldServiceTravelTime>
    <FinishTimeStamp>2004-02-01T12:00:00</FinishTimeStamp>
    <Status>
        <Code>OPEN</Code>
        <Description>Open</Description>
        <Effective>Open</Effective>
    </Status>
    <AssignedUser>SUPER</AssignedUser>
    <AssignedTeam>Admin Team</AssignedTeam>
    <Priority>
        <Code>HIGH</Code>
        <Description>High</Description>
    </Priority>
    <Source>EMAIL</Source>
    <SourceDetail/>
    <Job>
        <Code>SERV5002</Code>
        <Description>Service Job for KANGAN in QLD</Description>
    </Job>
    <ServiceRequestType>
        <Code>INSTALL</Code>
        <Description>Installation</Description>
        <ForeColor>0</ForeColor>
        <PlannerColor>8454143</PlannerColor>
    </ServiceRequestType>
    <Parent>1000</Parent>
    <IsPrivate>true</IsPrivate>
    <IsWebAccessible>true</IsWebAccessible>
    <IsLoggedByReseller>false</IsLoggedByReseller>
    <IsAllowAdditionsIN>false</IsAllowAdditionsIN>
    <KnowledgeBase>
        <Product>DESK</Product>
        <Model>P41.8</Model>
        <Version>1.02</Version>
    </KnowledgeBase>
    <PrimaryAsset>1003</PrimaryAsset>
    <SecondaryAssets collection='true' count='1'>
        <Code>1003</Code>
    </SecondaryAssets>
    <SecondaryItems collection='true' count='1'>
        <StockItem>SYSDPCP42KPROF</StockItem>
    </SecondaryItems>
    <SecondaryProducts collection='true' count='1'>
        <Code>1001</Code>
    </SecondaryProducts>
    <Notes/>
	<Timesheets collection='true' count='2'> 
       <Timesheet>            
<EmployeeCode>CLARKC11</EmployeeCode>
            <LineItems collection='true' count='1'> 
               <TimesheetLine>
                    <ActivityCode>LAVSEO</ActivityCode>
                    <WorkCentre>SERV</WorkCentre>
                    <JobCode>SERV5002</JobCode>
                    <StartTime>09:00:00</StartTime>
                    <FinishTime>10:00:00</FinishTime>
                    <Quantity>1.0000</Quantity>
                    <StandardText>S/R# 1001 - Lisa wants PC&apos;s installed - S/R PO# 376 </StandardText>
                    <TimeLineDate>2011-02-08</TimeLineDate>
                    <WeekEndingDate>2011-02-11</WeekEndingDate>
                </TimesheetLine>
            </LineItems>
        </Timesheet>
        <Timesheet>
            <EmployeeCode>CORKC1</EmployeeCode>
            <LineItems collection='true' count='2'>
                <TimesheetLine>
                    <ActivityCode>LABSER</ActivityCode>
                    <WorkCentre>SERV</WorkCentre>
                    <JobCode>SERV5002</JobCode>
                    <StartTime>10:00:00</StartTime>
                    <FinishTime>13:00:00</FinishTime>
                    <Quantity>3.0000</Quantity>
                    <StandardText>DKT# 2258 S/R# 1001 Service PC&apos;s ready for installation</StandardText>
                    <TimeLineDate>2011-02-08</TimeLineDate>
                    <WeekEndingDate>2011-02-14</WeekEndingDate>
                </TimesheetLine>
                <TimesheetLine>
                    <ActivityCode>LABASS</ActivityCode>
                    <WorkCentre>ASSEM</WorkCentre>
                    <JobCode>SERV5002</JobCode>
                    <StartTime>15:00:00</StartTime>
                    <FinishTime>16:00:00</FinishTime>
                    <Quantity>1.0000</Quantity>
                    <StandardText>S/R# 1001 Assembley of units</StandardText>
                    <TimeLineDate>2011-02-08</TimeLineDate>
                    <WeekEndingDate>2011-02-14</WeekEndingDate>
                </TimesheetLine>
            </LineItems>
        </Timesheet>
    </Timesheets>
    <ActionPlanEntries collection='true' count='1'>
        <ActionPlanEntry>
            <Edition>1</Edition>
            <OidString>6813.1</OidString>
            <ActionText>Contact Customer to discuss latest features</ActionText>
            <ByWhom>Fred</ByWhom>
            <ExpectedDate>2014-04-13</ExpectedDate>
            <LineNo>1</LineNo>
            <Result/>
        </ActionPlanEntry>
        <ActionPlanEntry>
            <Edition>1</Edition>
            <OidString>6813.2</OidString>
            <ActionText>Send Brochures on new models</ActionText>
            <ByWhom>Mary</ByWhom>
            <CompletedDate>2014-04-12</CompletedDate>
            <ExpectedDate>2014-04-13</ExpectedDate>
            <LineNo>2</LineNo>
            <Result>Success</Result>
        </ActionPlanEntry>
    </ActionPlanEntries>
    <UserDefinedFields collection='true' count='1'>
        <UserDefinedField>
            <Name>On Site Required</Name>
            <Type>Boolean</Type>
            <Value>false</Value>
        </UserDefinedField>
    </UserDefinedFields>
    <Trees collection='true' count='1'>
        <Tree>
            <Name>Colour-AUS</Name>
            <IsMandatory>false</IsMandatory>
            <Value/>
            <Path/>
        </Tree>
    </Trees>
</ServiceRequest>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.