Multiposter
Click here for a complete list of operations.
ValidateAdvertValues
from ValidateAdvertValues
Validate a supplied set of fields against the selected destinations.
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/ValidateAdvertValues HTTP/1.1 Host: api.logicmelon.com Content-Type: application/json; charset=utf-8 Content-Length: length { "Request": { "sCultureID": "string", "sAPIKey": "string", "sUsername": "string", "sPassword": "string", "sAdvertIdentifier": "string", "sAdvertReference": "string", "sAdvertID": "string", "sSearchDays": "string", "AdvertValues": [ { "Name": "string", "Value": "string", { "object": "object" } }, { "Name": "string", "Value": "string", { "object": "object" } }, ], "sRedirectDomain": "string", "sUserIdentifier": "string", "sStartOrganisation": "string", "DestinationsAsCSV": "string", "Destinations": [ "string", "string" ], "sValidateSuppliedFieldsOnly": "string" } }
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: length { "d": { "FieldIDsValid": [ int, int }, "FieldIDsWarning": [ int, int }, "FieldIDsInvalid": [ int, int }, "Valid": "Valid or Warnings or Errors", "Destinations": [ int, int ], "MarkedForDelivery": boolean, "ValidationResults": [ { "__type":"MPATSAPI.Models.ValidateFieldResult", "FieldID": int, "FieldIdentifier": "string", "FieldLabel": "string", "FieldComments": "string", "Comments": "string", "CultureID": "string", "Valid": boolean, "Message": "string", "Value": "string", { "object": "object" } }, { "__type":"MPATSAPI.Models.ValidateFieldResult", "FieldID": int, "FieldIdentifier": "string", "FieldLabel": "string", "FieldComments": "string", "Comments": "string", "CultureID": "string", "Valid": boolean, "Message": "string", "Value": "string", { "object": "object" } } }, { "__type":"MPATSAPI.Models.APIAdvertWithPostings", "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" }, "Postings": [ { "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/ValidateAdvertValues HTTP/1.1 Host: api.logicmelon.com Content-Type: application/json; charset=utf-8 Content-Length: length { "Request": { "sCultureID": "string", "sAPIKey": "string", "sUsername": "string", "sPassword": "string", "sAdvertIdentifier": "string", "sAdvertReference": "string", "sAdvertID": "string", "sSearchDays": "string", "AdvertValues": [ { "Name": "string", "Value": "string", { "object": "object" } }, { "Name": "string", "Value": "string", { "object": "object" } }, ], "sRedirectDomain": "string", "sUserIdentifier": "string", "sStartOrganisation": "string", "DestinationsAsCSV": "string", "Destinations": [ "string", "string" ], "sValidateSuppliedFieldsOnly": "string" } }
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: length { "d": { "FieldIDsValid": [ int, int }, "FieldIDsWarning": [ int, int }, "FieldIDsInvalid": [ int, int }, "Valid": "Valid or Warnings or Errors", "Destinations": [ int, int ], "MarkedForDelivery": boolean, "ValidationResults": [ { "__type":"MPATSAPI.Models.ValidateFieldResult", "FieldID": int, "FieldIdentifier": "string", "FieldLabel": "string", "FieldComments": "string", "Comments": "string", "CultureID": "string", "Valid": boolean, "Message": "string", "Value": "string", { "object": "object" } }, { "__type":"MPATSAPI.Models.ValidateFieldResult", "FieldID": int, "FieldIdentifier": "string", "FieldLabel": "string", "FieldComments": "string", "Comments": "string", "CultureID": "string", "Valid": boolean, "Message": "string", "Value": "string", { "object": "object" } } }, { "__type":"MPATSAPI.Models.APIAdvertWithPostings", "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" }, "Postings": [ { "object": "object" }, { "object": "object" } ], } ] }