Multiposter
Click here for a complete list of operations.
AddAdvert
Create an advert on the system and return a redirect url for the user to complete the posting process.
- eOnDuplicate What action to perform if this advert is already found under this user (duplicate/ignore/update/error) (create a duplicate / ignore and return the access url / update the advert with these values / throw an exception about a duplicate)
- sJobTitle The title of the job
- sJobType The job type (P)ermanent, (C)ontract, (T)emporary
- sJobHours The job hours (F)ull time, (P)art time
- sPrimaryLocation The primary location
- sIndustry The specific industry
- sSalaryFrom The minimum salary. Must be numeric.
- sSalaryTo The maximum salary. Must be numeric.
- sSalaryCurrency The salary currency in 3 letter ISO e.g. GBP, EUR, USD
- sSalaryPer The salary period (H)our, (D)ay, (W)eek, (M)onth, (Y)ear
- sSalaryBenefits and salary benefits
- sContactName Optionally a specific contact name (default to use the user the vacancy is stored under)
- sContactEmail Optionally a specific contact email (default to use the user the vacancy is stored under)
- sJobDescription The job description in plain text or HTML
- sApplicationURL Optionally an application URL to pass to the different media. Contact support for details.
- Destinations A list of job board destinations as either numeric id's or string identifiers
- sFuturePostDateTimeInUtc Future date for advert and posting data. Must parse to a date using
- sRedirectDomain The domain to redirect the user to on completion. Defaults to a system configured domain.
- AdvertValues Extra values keyed on numeric field id or field string identifier and the associated value
- sAdvertStatusID Adverts by default are marked as Created (0). The may also be marked as ToAuthorise (16) or Deleted (1)
- sAdvertID 12 May 2016 optionally if you know the existing AdvertID supply it here
- sApplicationCallbackURL 4 March 2021 optionally if you have an endpoint we can call with our applicationID, when an application is made
- sIframe 22 Aug 2022 optionally if you need sRedirectDomain to return iframe version of RedirectUrl
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /SOAP/Multiposter.asmx HTTP/1.1 Host: api.logicmelon.co.uk Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://api.logicmelon.com/AddAdvert" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddAdvert xmlns="http://api.logicmelon.com/"> <sCultureID>string</sCultureID> <sAPIKey>string</sAPIKey> <sUsername>string</sUsername> <sPassword>string</sPassword> <sAdvertIdentifier>string</sAdvertIdentifier> <sAdvertReference>string</sAdvertReference> <sSearchDays>string</sSearchDays> <sOnDuplicate>string</sOnDuplicate> <sJobTitle>string</sJobTitle> <sJobType>string</sJobType> <sJobHours>string</sJobHours> <sPrimaryLocation>string</sPrimaryLocation> <sIndustry>string</sIndustry> <sSalaryFrom>string</sSalaryFrom> <sSalaryTo>string</sSalaryTo> <sSalaryCurrency>string</sSalaryCurrency> <sSalaryPer>string</sSalaryPer> <sSalaryBenefits>string</sSalaryBenefits> <sContactName>string</sContactName> <sContactEmail>string</sContactEmail> <sJobDescription>string</sJobDescription> <sApplicationURL>string</sApplicationURL> <DestinationsAsCSV>string</DestinationsAsCSV> <sFuturePostDateTimeInUtc>string</sFuturePostDateTimeInUtc> <sRedirectDomain>string</sRedirectDomain> <sAdvertStatusID>string</sAdvertStatusID> <sAdvertID>string</sAdvertID> <sApplicationCallbackURL>string</sApplicationCallbackURL> <sIframe>string</sIframe> </AddAdvert> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddAdvertResponse xmlns="http://api.logicmelon.com/"> <AddAdvertResult> <AdvertID>int</AdvertID> <UserID>int</UserID> <OrganisationID>int</OrganisationID> <RedirectUrl>string</RedirectUrl> <LocationLookupLogs>string</LocationLookupLogs> </AddAdvertResult> </AddAdvertResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /SOAP/Multiposter.asmx HTTP/1.1 Host: api.logicmelon.co.uk Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AddAdvert xmlns="http://api.logicmelon.com/"> <sCultureID>string</sCultureID> <sAPIKey>string</sAPIKey> <sUsername>string</sUsername> <sPassword>string</sPassword> <sAdvertIdentifier>string</sAdvertIdentifier> <sAdvertReference>string</sAdvertReference> <sSearchDays>string</sSearchDays> <sOnDuplicate>string</sOnDuplicate> <sJobTitle>string</sJobTitle> <sJobType>string</sJobType> <sJobHours>string</sJobHours> <sPrimaryLocation>string</sPrimaryLocation> <sIndustry>string</sIndustry> <sSalaryFrom>string</sSalaryFrom> <sSalaryTo>string</sSalaryTo> <sSalaryCurrency>string</sSalaryCurrency> <sSalaryPer>string</sSalaryPer> <sSalaryBenefits>string</sSalaryBenefits> <sContactName>string</sContactName> <sContactEmail>string</sContactEmail> <sJobDescription>string</sJobDescription> <sApplicationURL>string</sApplicationURL> <DestinationsAsCSV>string</DestinationsAsCSV> <sFuturePostDateTimeInUtc>string</sFuturePostDateTimeInUtc> <sRedirectDomain>string</sRedirectDomain> <sAdvertStatusID>string</sAdvertStatusID> <sAdvertID>string</sAdvertID> <sApplicationCallbackURL>string</sApplicationCallbackURL> <sIframe>string</sIframe> </AddAdvert> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AddAdvertResponse xmlns="http://api.logicmelon.com/"> <AddAdvertResult> <AdvertID>int</AdvertID> <UserID>int</UserID> <OrganisationID>int</OrganisationID> <RedirectUrl>string</RedirectUrl> <LocationLookupLogs>string</LocationLookupLogs> </AddAdvertResult> </AddAdvertResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /SOAP/Multiposter.asmx/AddAdvert?sCultureID=string&sAPIKey=string&sUsername=string&sPassword=string&sAdvertIdentifier=string&sAdvertReference=string&sSearchDays=string&sOnDuplicate=string&sJobTitle=string&sJobType=string&sJobHours=string&sPrimaryLocation=string&sIndustry=string&sSalaryFrom=string&sSalaryTo=string&sSalaryCurrency=string&sSalaryPer=string&sSalaryBenefits=string&sContactName=string&sContactEmail=string&sJobDescription=string&sApplicationURL=string&DestinationsAsCSV=string&sFuturePostDateTimeInUtc=string&sRedirectDomain=string&sAdvertStatusID=string&sAdvertID=string&sApplicationCallbackURL=string&sIframe=string HTTP/1.1 Host: api.logicmelon.co.uk
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <AddAdvertResult xmlns="http://api.logicmelon.com/"> <AdvertID>int</AdvertID> <UserID>int</UserID> <OrganisationID>int</OrganisationID> <RedirectUrl>string</RedirectUrl> <LocationLookupLogs>string</LocationLookupLogs> </AddAdvertResult>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /SOAP/Multiposter.asmx/AddAdvert HTTP/1.1 Host: api.logicmelon.co.uk Content-Type: application/x-www-form-urlencoded Content-Length: length sCultureID=string&sAPIKey=string&sUsername=string&sPassword=string&sAdvertIdentifier=string&sAdvertReference=string&sSearchDays=string&sOnDuplicate=string&sJobTitle=string&sJobType=string&sJobHours=string&sPrimaryLocation=string&sIndustry=string&sSalaryFrom=string&sSalaryTo=string&sSalaryCurrency=string&sSalaryPer=string&sSalaryBenefits=string&sContactName=string&sContactEmail=string&sJobDescription=string&sApplicationURL=string&DestinationsAsCSV=string&sFuturePostDateTimeInUtc=string&sRedirectDomain=string&sAdvertStatusID=string&sAdvertID=string&sApplicationCallbackURL=string&sIframe=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <AddAdvertResult xmlns="http://api.logicmelon.com/"> <AdvertID>int</AdvertID> <UserID>int</UserID> <OrganisationID>int</OrganisationID> <RedirectUrl>string</RedirectUrl> <LocationLookupLogs>string</LocationLookupLogs> </AddAdvertResult>