Multiposter
Click here for a complete list of operations.
CloseAdvert
Provides a mechanism to search for an advert and request closure of the advert on job boards that support this feature.
Optionally specify a sUsername or sStartOrganisation to limit the search to a specific user (sUsername or sUserIdentifier) or specific portion of the tree (sStartOrganisation).
- Destinations Optionally a comma separated list of job board destinations as either numeric id's or string identifiers. If not specified requests removals on all support destinations.
- sArchive Optionally indicate if the advert should be archived on the local system as well (defaults to false)
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/CloseAdvert" <?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> <CloseAdvert xmlns="http://api.logicmelon.com/"> <sCultureID>string</sCultureID> <sAPIKey>string</sAPIKey> <sUsername>string</sUsername> <sUserIdentifier>string</sUserIdentifier> <sStartOrganisation>string</sStartOrganisation> <sAdvertIdentifier>string</sAdvertIdentifier> <sAdvertReference>string</sAdvertReference> <sAdvertID>string</sAdvertID> <sSearchDays>string</sSearchDays> <sArchive>string</sArchive> <DestinationsAsCSV>string</DestinationsAsCSV> </CloseAdvert> </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> <CloseAdvertResponse xmlns="http://api.logicmelon.com/"> <CloseAdvertResult> <Advert> <SchemaIdentifier>string</SchemaIdentifier> <AdvertID>int</AdvertID> <UserID>int</UserID> <OrganisationID>int</OrganisationID> <LastPostDate>dateTime</LastPostDate> <LastDeliveryDate>dateTime</LastDeliveryDate> <LastDeliveryStatusID>int</LastDeliveryStatusID> <AdvertIdentifier>string</AdvertIdentifier> <AdvertReference>string</AdvertReference> <AdvertStatusID>short</AdvertStatusID> <AdvertTitle>string</AdvertTitle> <AdvertType>string</AdvertType> <AdvertHours>string</AdvertHours> <PrimaryLocation>string</PrimaryLocation> <Industry>string</Industry> <SalaryFrom>string</SalaryFrom> <SalaryTo>string</SalaryTo> <SalaryCurrency>string</SalaryCurrency> <SalaryPer>string</SalaryPer> <SalaryBenefits>string</SalaryBenefits> <ContactName>string</ContactName> <ContactEmail>string</ContactEmail> <Applications>int</Applications> <Viewed>int</Viewed> <Source>string</Source> <JobDescription>string</JobDescription> <Suitable>int</Suitable> <MaybeSuitable>int</MaybeSuitable> <Unsuitable>int</Unsuitable> <SalaryHide>boolean</SalaryHide> <latitude>decimal</latitude> <longitude>decimal</longitude> <InterviewConfirmed>int</InterviewConfirmed> <InterviewPending>int</InterviewPending> <InterviewCannotAttend>int</InterviewCannotAttend> <InterviewDeclined>int</InterviewDeclined> <WithStatus>int</WithStatus> <WithStatusNew>int</WithStatusNew> <LastScoreDate>dateTime</LastScoreDate> <LastProgressDate>dateTime</LastProgressDate> <sLastPostDate>string</sLastPostDate> <sLastDeliveryDate>string</sLastDeliveryDate> <sLastScoreDate>string</sLastScoreDate> <sLastProgressDate>string</sLastProgressDate> </Advert> <Postings> <APIPosting> <sPostDate>string</sPostDate> <sEstimatedExpireDate>string</sEstimatedExpireDate> <sCorrectDate>string</sCorrectDate> </APIPosting> <APIPosting> <sPostDate>string</sPostDate> <sEstimatedExpireDate>string</sEstimatedExpireDate> <sCorrectDate>string</sCorrectDate> </APIPosting> </Postings> </CloseAdvertResult> </CloseAdvertResponse> </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> <CloseAdvert xmlns="http://api.logicmelon.com/"> <sCultureID>string</sCultureID> <sAPIKey>string</sAPIKey> <sUsername>string</sUsername> <sUserIdentifier>string</sUserIdentifier> <sStartOrganisation>string</sStartOrganisation> <sAdvertIdentifier>string</sAdvertIdentifier> <sAdvertReference>string</sAdvertReference> <sAdvertID>string</sAdvertID> <sSearchDays>string</sSearchDays> <sArchive>string</sArchive> <DestinationsAsCSV>string</DestinationsAsCSV> </CloseAdvert> </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> <CloseAdvertResponse xmlns="http://api.logicmelon.com/"> <CloseAdvertResult> <Advert> <SchemaIdentifier>string</SchemaIdentifier> <AdvertID>int</AdvertID> <UserID>int</UserID> <OrganisationID>int</OrganisationID> <LastPostDate>dateTime</LastPostDate> <LastDeliveryDate>dateTime</LastDeliveryDate> <LastDeliveryStatusID>int</LastDeliveryStatusID> <AdvertIdentifier>string</AdvertIdentifier> <AdvertReference>string</AdvertReference> <AdvertStatusID>short</AdvertStatusID> <AdvertTitle>string</AdvertTitle> <AdvertType>string</AdvertType> <AdvertHours>string</AdvertHours> <PrimaryLocation>string</PrimaryLocation> <Industry>string</Industry> <SalaryFrom>string</SalaryFrom> <SalaryTo>string</SalaryTo> <SalaryCurrency>string</SalaryCurrency> <SalaryPer>string</SalaryPer> <SalaryBenefits>string</SalaryBenefits> <ContactName>string</ContactName> <ContactEmail>string</ContactEmail> <Applications>int</Applications> <Viewed>int</Viewed> <Source>string</Source> <JobDescription>string</JobDescription> <Suitable>int</Suitable> <MaybeSuitable>int</MaybeSuitable> <Unsuitable>int</Unsuitable> <SalaryHide>boolean</SalaryHide> <latitude>decimal</latitude> <longitude>decimal</longitude> <InterviewConfirmed>int</InterviewConfirmed> <InterviewPending>int</InterviewPending> <InterviewCannotAttend>int</InterviewCannotAttend> <InterviewDeclined>int</InterviewDeclined> <WithStatus>int</WithStatus> <WithStatusNew>int</WithStatusNew> <LastScoreDate>dateTime</LastScoreDate> <LastProgressDate>dateTime</LastProgressDate> <sLastPostDate>string</sLastPostDate> <sLastDeliveryDate>string</sLastDeliveryDate> <sLastScoreDate>string</sLastScoreDate> <sLastProgressDate>string</sLastProgressDate> </Advert> <Postings> <APIPosting> <sPostDate>string</sPostDate> <sEstimatedExpireDate>string</sEstimatedExpireDate> <sCorrectDate>string</sCorrectDate> </APIPosting> <APIPosting> <sPostDate>string</sPostDate> <sEstimatedExpireDate>string</sEstimatedExpireDate> <sCorrectDate>string</sCorrectDate> </APIPosting> </Postings> </CloseAdvertResult> </CloseAdvertResponse> </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/CloseAdvert?sCultureID=string&sAPIKey=string&sUsername=string&sUserIdentifier=string&sStartOrganisation=string&sAdvertIdentifier=string&sAdvertReference=string&sAdvertID=string&sSearchDays=string&sArchive=string&DestinationsAsCSV=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"?> <APIAdvertWithPostings xmlns="http://api.logicmelon.com/"> <Advert> <SchemaIdentifier>string</SchemaIdentifier> <AdvertID>int</AdvertID> <UserID>int</UserID> <OrganisationID>int</OrganisationID> <LastPostDate>dateTime</LastPostDate> <LastDeliveryDate>dateTime</LastDeliveryDate> <LastDeliveryStatusID>int</LastDeliveryStatusID> <AdvertIdentifier>string</AdvertIdentifier> <AdvertReference>string</AdvertReference> <AdvertStatusID>short</AdvertStatusID> <AdvertTitle>string</AdvertTitle> <AdvertType>string</AdvertType> <AdvertHours>string</AdvertHours> <PrimaryLocation>string</PrimaryLocation> <Industry>string</Industry> <SalaryFrom>string</SalaryFrom> <SalaryTo>string</SalaryTo> <SalaryCurrency>string</SalaryCurrency> <SalaryPer>string</SalaryPer> <SalaryBenefits>string</SalaryBenefits> <ContactName>string</ContactName> <ContactEmail>string</ContactEmail> <Applications>int</Applications> <Viewed>int</Viewed> <Source>string</Source> <JobDescription>string</JobDescription> <Suitable>int</Suitable> <MaybeSuitable>int</MaybeSuitable> <Unsuitable>int</Unsuitable> <SalaryHide>boolean</SalaryHide> <latitude>decimal</latitude> <longitude>decimal</longitude> <InterviewConfirmed>int</InterviewConfirmed> <InterviewPending>int</InterviewPending> <InterviewCannotAttend>int</InterviewCannotAttend> <InterviewDeclined>int</InterviewDeclined> <WithStatus>int</WithStatus> <WithStatusNew>int</WithStatusNew> <LastScoreDate>dateTime</LastScoreDate> <LastProgressDate>dateTime</LastProgressDate> <sLastPostDate>string</sLastPostDate> <sLastDeliveryDate>string</sLastDeliveryDate> <sLastScoreDate>string</sLastScoreDate> <sLastProgressDate>string</sLastProgressDate> </Advert> <Postings> <APIPosting> <sPostDate>string</sPostDate> <sEstimatedExpireDate>string</sEstimatedExpireDate> <sCorrectDate>string</sCorrectDate> </APIPosting> <APIPosting> <sPostDate>string</sPostDate> <sEstimatedExpireDate>string</sEstimatedExpireDate> <sCorrectDate>string</sCorrectDate> </APIPosting> </Postings> </APIAdvertWithPostings>
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/CloseAdvert HTTP/1.1 Host: api.logicmelon.co.uk Content-Type: application/x-www-form-urlencoded Content-Length: length sCultureID=string&sAPIKey=string&sUsername=string&sUserIdentifier=string&sStartOrganisation=string&sAdvertIdentifier=string&sAdvertReference=string&sAdvertID=string&sSearchDays=string&sArchive=string&DestinationsAsCSV=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <APIAdvertWithPostings xmlns="http://api.logicmelon.com/"> <Advert> <SchemaIdentifier>string</SchemaIdentifier> <AdvertID>int</AdvertID> <UserID>int</UserID> <OrganisationID>int</OrganisationID> <LastPostDate>dateTime</LastPostDate> <LastDeliveryDate>dateTime</LastDeliveryDate> <LastDeliveryStatusID>int</LastDeliveryStatusID> <AdvertIdentifier>string</AdvertIdentifier> <AdvertReference>string</AdvertReference> <AdvertStatusID>short</AdvertStatusID> <AdvertTitle>string</AdvertTitle> <AdvertType>string</AdvertType> <AdvertHours>string</AdvertHours> <PrimaryLocation>string</PrimaryLocation> <Industry>string</Industry> <SalaryFrom>string</SalaryFrom> <SalaryTo>string</SalaryTo> <SalaryCurrency>string</SalaryCurrency> <SalaryPer>string</SalaryPer> <SalaryBenefits>string</SalaryBenefits> <ContactName>string</ContactName> <ContactEmail>string</ContactEmail> <Applications>int</Applications> <Viewed>int</Viewed> <Source>string</Source> <JobDescription>string</JobDescription> <Suitable>int</Suitable> <MaybeSuitable>int</MaybeSuitable> <Unsuitable>int</Unsuitable> <SalaryHide>boolean</SalaryHide> <latitude>decimal</latitude> <longitude>decimal</longitude> <InterviewConfirmed>int</InterviewConfirmed> <InterviewPending>int</InterviewPending> <InterviewCannotAttend>int</InterviewCannotAttend> <InterviewDeclined>int</InterviewDeclined> <WithStatus>int</WithStatus> <WithStatusNew>int</WithStatusNew> <LastScoreDate>dateTime</LastScoreDate> <LastProgressDate>dateTime</LastProgressDate> <sLastPostDate>string</sLastPostDate> <sLastDeliveryDate>string</sLastDeliveryDate> <sLastScoreDate>string</sLastScoreDate> <sLastProgressDate>string</sLastProgressDate> </Advert> <Postings> <APIPosting> <sPostDate>string</sPostDate> <sEstimatedExpireDate>string</sEstimatedExpireDate> <sCorrectDate>string</sCorrectDate> </APIPosting> <APIPosting> <sPostDate>string</sPostDate> <sEstimatedExpireDate>string</sEstimatedExpireDate> <sCorrectDate>string</sCorrectDate> </APIPosting> </Postings> </APIAdvertWithPostings>