Multiposter
Click here for a complete list of operations.
CloseAdvertWithFilters
Provides a mechanism to search for an advert and request closure of the advert on job boards that support this feature. Allows extra search Filters to be included
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 list of job board destinations as either numeric id's or string identifiers. If not specified requests removals on all support destinations and closes the advert.
- sArchive Optionally, when destinations are specified, indicate if the advert should be archived on the local system as well (defaults to false)
Test
The test form is only available for requests from the local machine.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/CloseAdvertWithFilters" <?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> <CloseAdvertWithFilters 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> <Destinations> <string>string</string> <string>string</string> </Destinations> <Filters> <NameValueFilter> <Name>string</Name> <Value>string</Value> <Values> <string>string</string> <string>string</string> </Values> <ValueDateTime>dateTime</ValueDateTime> <Comparitor>Equals or StartsWith or EndsWith or Contains or LessThan or GreaterThan or LessThanDate or GreaterThanDate</Comparitor> </NameValueFilter> <NameValueFilter> <Name>string</Name> <Value>string</Value> <Values> <string>string</string> <string>string</string> </Values> <ValueDateTime>dateTime</ValueDateTime> <Comparitor>Equals or StartsWith or EndsWith or Contains or LessThan or GreaterThan or LessThanDate or GreaterThanDate</Comparitor> </NameValueFilter> </Filters> </CloseAdvertWithFilters> </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> <CloseAdvertWithFiltersResponse xmlns="http://api.logicmelon.com/"> <CloseAdvertWithFiltersResult> <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> </CloseAdvertWithFiltersResult> </CloseAdvertWithFiltersResponse> </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> <CloseAdvertWithFilters 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> <Destinations> <string>string</string> <string>string</string> </Destinations> <Filters> <NameValueFilter> <Name>string</Name> <Value>string</Value> <Values> <string>string</string> <string>string</string> </Values> <ValueDateTime>dateTime</ValueDateTime> <Comparitor>Equals or StartsWith or EndsWith or Contains or LessThan or GreaterThan or LessThanDate or GreaterThanDate</Comparitor> </NameValueFilter> <NameValueFilter> <Name>string</Name> <Value>string</Value> <Values> <string>string</string> <string>string</string> </Values> <ValueDateTime>dateTime</ValueDateTime> <Comparitor>Equals or StartsWith or EndsWith or Contains or LessThan or GreaterThan or LessThanDate or GreaterThanDate</Comparitor> </NameValueFilter> </Filters> </CloseAdvertWithFilters> </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> <CloseAdvertWithFiltersResponse xmlns="http://api.logicmelon.com/"> <CloseAdvertWithFiltersResult> <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> </CloseAdvertWithFiltersResult> </CloseAdvertWithFiltersResponse> </soap12:Body> </soap12:Envelope>