Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
The Triage Web Service

The Triage Web Service

Ratings: (0)|Views: 1|Likes:
Published by Transformed By You

More info:

Published by: Transformed By You on Nov 04, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

11/22/2013

pdf

text

original

 
The Triage Web Service ‘KentWideCRM’
https://api.swale.gov.uk/KentWideCRM/KentWideCRM.asmx The web service contains the follow methods
CreateRequest
Checks that the subscriber to the scheme is valid the web service will use the authoritycode (or if not authority code is passed then the information about the subject or contactis used to determine the authority eg the easting/northing (598000/163000 is in Swale)and or elements of the address). Once the correct authority is identified then the casecan be processed)
FindAuthority
Returns details of an authority or all authorities that match that are part to the scheme.
FindRequest
Checks that the subscriber to the scheme is valid and returns the request.
FindRequestDetails
Checks that the subscriber to the scheme is valid and returns the request detail.
FindService
Returns the details of a service or all services for an authority or all authorities.
FindServiceDetail
Returns what details a service for an authority expects and their description.Once the request has been created in the database the XML is then passed to therelevant authority web service to deal with (eg create a case in their CRM or forward thedetails on to the appropriate part of the authority). Any reference returned is updated inthe database and passed back to calling app.
The TestRig which uses t he Triage Web Service ‘KentWideCRM’
 This webpage will create example XML which can be submitted with the ‘Create Request’button and the returning XML is displayed. The subscriber is ‘X’ and the password is ‘XYZ’. The authorities and their available services are
Auth CodeAuthorityService CodeService
2002 Gravesham BC GENERAL General Enquiry2001 Maidstone BC GENERAL General Enquiry2255 Swale BC CTDIS Ctax Discount Forms2255 Swale BC FT Fly Tipping2255 Swale BC GENERAL General Enquiry2003 Tunbridge Wells BC GENERAL General EnquiryAs this is a proof of concept the web service, updating of the Northgate system and anyemailing is only on Swale Development Systems.
 
XML definitions of the various Methods of the Web ServiceCreateRequest(XmlRequest as String) as XmlDocument -
Creates the request andsend to council.Passed XMLRequest xml string.
<doc><request><subscribercode></subscribercode><subscriberpassword></subscriberpassword><authoritycode></authoritycode><servicecode></servicecode><contactpersoncitizenid></contactpersoncitizenid><contactpersonfullname></contactpersonfullname><contactpersontitle></contactpersontitle><contactpersonforename></contactpersonforename><contactpersonsurname></contactpersonsurname><contactcompanycitizenid></contactcompanycitizenid><contactcompanyname></contactcompanyname><contactllpguprn></contactllpguprn><contacthouse></contacthouse><contactstreet></contactstreet><contactlocality></contactlocality><contacttown></contacttown><contactcounty></contactcounty><contactcountry></contactcountry><contactpostcode></contactpostcode><contacteasting></contacteasting><contactnorthing></contactnorthing><contacthometelephone></contacthometelephone><contactworktelephone></contactworktelephone><contactfaxtelephone></contactfaxtelephone><contactmobiletelephone></contactmobiletelephone><contactemail></contactemail><contactpreferedmethod></contactpreferedmethod><subjectpersoncitizenid></subjectpersoncitizenid><subjectpersonfullname></subjectpersonfullname><subjectpersontitle></subjectpersontitle><subjectpersonforename></subjectpersonforename><subjectpersonsurname></subjectpersonsurname><subjectcompanycitizenid></subjectcompanycitizenid><subjectcompanyname></subjectcompanyname><subjectllpguprn></subjectllpguprn><subjecthouse></subjecthouse><subjectstreet></subjectstreet><subjectlocality></subjectlocality><subjecttown></subjecttown><subjectcounty></subjectcounty><subjectcountry></subjectcountry><subjectpostcode></subjectpostcode><subjecteasting></subjecteasting><subjectnorthing></subjectnorthing><subjecthometelephone></subjecthometelephone><subjectworktelephone></subjectworktelephone><subjectfaxtelephone></subjectfaxtelephone><subjectmobiletelephone></subjectmobiletelephone><subjectemail></subjectemail><subjectpreferedmethod></subjectpreferedmethod></request><requestdetail><detail1></detail1>...<detail10></detail10></requestdetail></d
o
c>
 
Returns the following XML Document.
<doc><request><authoritycode></authoritycode><servicecode></servicecode><requestreference></requestreference><crmreference></crmreference><crmnotes></crmnotes></request><errors><error></error></errors></doc>
FindAuthority(XmlRequest as String) as XmlDocument -
Returns details for a validauthority or list of authorities.Passed XMLRequest xml string.
<doc><authoritycode>
bigint 
</authoritycode> optional<authorityname>
varchar 
</authorityname>optional and part matches</doc>
Returns the following XML Document.
<doc><authority><code></code><name></name><address1></address1><address2></address2><address3></address3><address4></address4><address5></address5><telephone></telephone><fax></fax><email></email><website></website><webservice></webservice></authority></doc>
FindRequest(XmlRequest as String) as XmlDocument -
Returns the details forrequests.Passed XMLRequest xml string.
<doc><subscribercode>
bigint 
</subscribercode> mandatory<subscriberpassword>
varchar 
</subscriberpassword> mandatory<authoritycode>
bigint 
</authoritycode><servicecode>
varchar 
</servicecode><requestreference>
varchar 
</requestreference></doc>
Returns the following XML Document.
<doc><request><reference></reference><subscibercode></subscibercode><subscibername></subscibername><authoritycode></authoritycode><authorityname></authorityname><servicecode></servicecode><servicename></servicename><crmreference></crmreference>< crmnotes></crmnotes><contactpersoncitizenid></contactpersoncitizenid><contactpersonfullname><contactpersonfullname><contactpersontitle></contactpersontitle><contactpersonforename></contactpersonforename><contactpersonsurname></contactpersonsurname><contactcompanycitizenid></contactcompanycitizenid><contactcompanyname></contactcompanyname><contactllpguprn></contactllpguprn><contacthouse></contacthouse><contactstreet></contactstreet><contactlocality></contactlocality>

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->