Multiposter
Click here for a complete list of operations.
GetAdvert
from GetAdvertWithValuesWithFilters
Provides a mechanism to search for a specific advert (with possibly multiple instances) on the database and return some basic information with extra field values included. The extra field values can be filtered by a list of Field identifiers or for Feed specific values by Feed identifiers.
Optionally specify a sUsername or sStartOrganisation to limit the search to a specific user (sUsername or sUserIdentifier) or specific portion of the tree (sStartOrganisation).
HTTP POST with Content-Type: application/json
{ "Request": { "sCultureID": "", "sAPIKey": "string" ... } }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 /json/Multiposter.asmx/GetAdvert HTTP/1.1 Host: api.logicmelon.co.uk Content-Type: application/json; charset=utf-8 Content-Length: length { "Request": { "sCultureID": "string", "sAPIKey": "string", "sUsername": "string", "sUserIdentifier": "string", "sStartOrganisation": "string", "sAdvertIdentifier": "string", "sAdvertReference": "string", "sAdvertID": "string", "sSearchDays": "string", "Filters": [ "NameValueFilter": [ "Name": "string", "Value": "string", { "object": "object" }, "ValueDateTime": Date(), "Comparitor": "Equals or StartsWith or EndsWith or Contains or LessThan or GreaterThan or LessThanDate or GreaterThanDate" }, "NameValueFilter": [ "Name": "string", "Value": "string", { "object": "object" }, "ValueDateTime": Date(), "Comparitor": "Equals or StartsWith or EndsWith or Contains or LessThan or GreaterThan or LessThanDate or GreaterThanDate" } ], "sArchive": "string", "DestinationsAsCSV": "string", "Destinations": [ "string", "string" ], "sFuturePostDateTimeInUtc": "string", "FuturePostDateTimeInUtc": Date(), "FieldIDs": [ "string", "string" }, "sAdvertStatusIDs": "string", "sHideFutureJobs": "string", "sLastScoreDate": "string", "LastScoreDate": Date(), "sLastProgressDate": "string", "LastProgressDate": Date() } }
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: length { "d": [ or { { "__type":"MPATSAPI.Models.APIAdvertWithValues", "Advert": [ "SchemaIdentifier": "string", "AdvertID": int, "UserID": int, "OrganisationID": int, "LastPostDate": Date(), "LastDeliveryDate": Date(), "LastDeliveryStatusID": int, "AdvertIdentifier": "string", "AdvertReference": "string", "AdvertStatusID": "short", "AdvertTitle": "string", "AdvertType": "string", "AdvertHours": "string", "PrimaryLocation": "string", "Industry": "string", "SalaryFrom": "string", "SalaryTo": "string", "SalaryCurrency": "string", "SalaryPer": "string", "SalaryBenefits": "string", "ContactName": "string", "ContactEmail": "string", "Applications": int, "Viewed": int, "Source": "string", "JobDescription": "string", "Suitable": int, "MaybeSuitable": int, "Unsuitable": int, "SalaryHide": boolean, "latitude": decimal, "longitude": decimal, "InterviewConfirmed": int, "InterviewPending": int, "InterviewCannotAttend": int, "InterviewDeclined": int, "WithStatus": int, "WithStatusNew": int, "LastScoreDate": Date(), "LastProgressDate": Date(), "sLastPostDate": "string", "sLastDeliveryDate": "string", "sLastScoreDate": "string", "sLastProgressDate": "string" }, "AdvertValues": [ { "object": "object" }, { "object": "object" } ], }, { "__type":"MPATSAPI.Models.APIAdvertWithValues", "Advert": [ "SchemaIdentifier": "string", "AdvertID": int, "UserID": int, "OrganisationID": int, "LastPostDate": Date(), "LastDeliveryDate": Date(), "LastDeliveryStatusID": int, "AdvertIdentifier": "string", "AdvertReference": "string", "AdvertStatusID": "short", "AdvertTitle": "string", "AdvertType": "string", "AdvertHours": "string", "PrimaryLocation": "string", "Industry": "string", "SalaryFrom": "string", "SalaryTo": "string", "SalaryCurrency": "string", "SalaryPer": "string", "SalaryBenefits": "string", "ContactName": "string", "ContactEmail": "string", "Applications": int, "Viewed": int, "Source": "string", "JobDescription": "string", "Suitable": int, "MaybeSuitable": int, "Unsuitable": int, "SalaryHide": boolean, "latitude": decimal, "longitude": decimal, "InterviewConfirmed": int, "InterviewPending": int, "InterviewCannotAttend": int, "InterviewDeclined": int, "WithStatus": int, "WithStatusNew": int, "LastScoreDate": Date(), "LastProgressDate": Date(), "sLastPostDate": "string", "sLastDeliveryDate": "string", "sLastScoreDate": "string", "sLastProgressDate": "string" }, "AdvertValues": [ { "object": "object" }, { "object": "object" } ], }, ] }
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 /json/Multiposter.asmx/GetAdvert HTTP/1.1 Host: api.logicmelon.co.uk Content-Type: application/json; charset=utf-8 Content-Length: length { "Request": { "sCultureID": "string", "sAPIKey": "string", "sUsername": "string", "sUserIdentifier": "string", "sStartOrganisation": "string", "sAdvertIdentifier": "string", "sAdvertReference": "string", "sAdvertID": "string", "sSearchDays": "string", "Filters": [ "NameValueFilter": [ "Name": "string", "Value": "string", { "object": "object" }, "ValueDateTime": Date(), "Comparitor": "Equals or StartsWith or EndsWith or Contains or LessThan or GreaterThan or LessThanDate or GreaterThanDate" }, "NameValueFilter": [ "Name": "string", "Value": "string", { "object": "object" }, "ValueDateTime": Date(), "Comparitor": "Equals or StartsWith or EndsWith or Contains or LessThan or GreaterThan or LessThanDate or GreaterThanDate" } ], "sArchive": "string", "DestinationsAsCSV": "string", "Destinations": [ "string", "string" ], "sFuturePostDateTimeInUtc": "string", "FuturePostDateTimeInUtc": Date(), "FieldIDs": [ "string", "string" }, "sAdvertStatusIDs": "string", "sHideFutureJobs": "string", "sLastScoreDate": "string", "LastScoreDate": Date(), "sLastProgressDate": "string", "LastProgressDate": Date() } }
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: length { "d": [ or { { "__type":"MPATSAPI.Models.APIAdvertWithValues", "Advert": [ "SchemaIdentifier": "string", "AdvertID": int, "UserID": int, "OrganisationID": int, "LastPostDate": Date(), "LastDeliveryDate": Date(), "LastDeliveryStatusID": int, "AdvertIdentifier": "string", "AdvertReference": "string", "AdvertStatusID": "short", "AdvertTitle": "string", "AdvertType": "string", "AdvertHours": "string", "PrimaryLocation": "string", "Industry": "string", "SalaryFrom": "string", "SalaryTo": "string", "SalaryCurrency": "string", "SalaryPer": "string", "SalaryBenefits": "string", "ContactName": "string", "ContactEmail": "string", "Applications": int, "Viewed": int, "Source": "string", "JobDescription": "string", "Suitable": int, "MaybeSuitable": int, "Unsuitable": int, "SalaryHide": boolean, "latitude": decimal, "longitude": decimal, "InterviewConfirmed": int, "InterviewPending": int, "InterviewCannotAttend": int, "InterviewDeclined": int, "WithStatus": int, "WithStatusNew": int, "LastScoreDate": Date(), "LastProgressDate": Date(), "sLastPostDate": "string", "sLastDeliveryDate": "string", "sLastScoreDate": "string", "sLastProgressDate": "string" }, "AdvertValues": [ { "object": "object" }, { "object": "object" } ], }, { "__type":"MPATSAPI.Models.APIAdvertWithValues", "Advert": [ "SchemaIdentifier": "string", "AdvertID": int, "UserID": int, "OrganisationID": int, "LastPostDate": Date(), "LastDeliveryDate": Date(), "LastDeliveryStatusID": int, "AdvertIdentifier": "string", "AdvertReference": "string", "AdvertStatusID": "short", "AdvertTitle": "string", "AdvertType": "string", "AdvertHours": "string", "PrimaryLocation": "string", "Industry": "string", "SalaryFrom": "string", "SalaryTo": "string", "SalaryCurrency": "string", "SalaryPer": "string", "SalaryBenefits": "string", "ContactName": "string", "ContactEmail": "string", "Applications": int, "Viewed": int, "Source": "string", "JobDescription": "string", "Suitable": int, "MaybeSuitable": int, "Unsuitable": int, "SalaryHide": boolean, "latitude": decimal, "longitude": decimal, "InterviewConfirmed": int, "InterviewPending": int, "InterviewCannotAttend": int, "InterviewDeclined": int, "WithStatus": int, "WithStatusNew": int, "LastScoreDate": Date(), "LastProgressDate": Date(), "sLastPostDate": "string", "sLastDeliveryDate": "string", "sLastScoreDate": "string", "sLastProgressDate": "string" }, "AdvertValues": [ { "object": "object" }, { "object": "object" } ], }, ] }