Multiposter
Click here for a complete list of operations.
ValidateAdvertValues
Validate a supplied set of fields against the selected destinations.
- sUsername Optionally specify a username to collect per user settings.
- Destinations Required list of job board destinations as either numeric id's or string identifiers.
- AdvertValues Required (except when an sAdvertID is specified) a set of field data in the form of name value pairs (with multiple values specified in the Values node).
- sValidateSuppliedFieldsOnly Validate all feed fields, or only validate the data supplied (true or false, default false).
- sAdvertID, sAdvertReference, sAdvertIdentifier Optionally validate advert data already stored in the database.
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.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.logicmelon.com/ValidateAdvertValues"
<?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>
<ValidateAdvertValues xmlns="http://api.logicmelon.com/">
<sCultureID>string</sCultureID>
<sAPIKey>string</sAPIKey>
<sUsername>string</sUsername>
<sUserIdentifier>string</sUserIdentifier>
<sStartOrganisation>string</sStartOrganisation>
<Destinations>
<string>string</string>
<string>string</string>
</Destinations>
<AdvertValues>
<NameValue>
<Name>string</Name>
<Value>string</Value>
<Values>
<string>string</string>
<string>string</string>
</Values>
</NameValue>
<NameValue>
<Name>string</Name>
<Value>string</Value>
<Values>
<string>string</string>
<string>string</string>
</Values>
</NameValue>
</AdvertValues>
<sValidateSuppliedFieldsOnly>string</sValidateSuppliedFieldsOnly>
<sAdvertIdentifier>string</sAdvertIdentifier>
<sAdvertReference>string</sAdvertReference>
<sAdvertID>string</sAdvertID>
<sSearchDays>string</sSearchDays>
</ValidateAdvertValues>
</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>
<ValidateAdvertValuesResponse xmlns="http://api.logicmelon.com/">
<ValidateAdvertResult>
<FieldIDsValid>
<int>int</int>
<int>int</int>
</FieldIDsValid>
<FieldIDsWarning>
<int>int</int>
<int>int</int>
</FieldIDsWarning>
<FieldIDsInvalid>
<int>int</int>
<int>int</int>
</FieldIDsInvalid>
<Valid>Valid or Warnings or Errors</Valid>
<Destinations>
<int>int</int>
<int>int</int>
</Destinations>
<MarkedForDelivery>boolean</MarkedForDelivery>
<ValidationResults>
<ValidateFieldResult>
<FieldID>int</FieldID>
<FieldIdentifier>string</FieldIdentifier>
<FieldLabel>string</FieldLabel>
<FieldComments>string</FieldComments>
<Comments>string</Comments>
<CultureID>string</CultureID>
<Valid>boolean</Valid>
<Message>string</Message>
<Value>string</Value>
<Values xsi:nil="true" />
</ValidateFieldResult>
<ValidateFieldResult>
<FieldID>int</FieldID>
<FieldIdentifier>string</FieldIdentifier>
<FieldLabel>string</FieldLabel>
<FieldComments>string</FieldComments>
<Comments>string</Comments>
<CultureID>string</CultureID>
<Valid>boolean</Valid>
<Message>string</Message>
<Value>string</Value>
<Values xsi:nil="true" />
</ValidateFieldResult>
</ValidationResults>
<APIAdvertWithPostings>
<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 xsi:nil="true" />
<APIPosting xsi:nil="true" />
</Postings>
</APIAdvertWithPostings>
</ValidateAdvertResult>
</ValidateAdvertValuesResponse>
</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.com
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>
<ValidateAdvertValues xmlns="http://api.logicmelon.com/">
<sCultureID>string</sCultureID>
<sAPIKey>string</sAPIKey>
<sUsername>string</sUsername>
<sUserIdentifier>string</sUserIdentifier>
<sStartOrganisation>string</sStartOrganisation>
<Destinations>
<string>string</string>
<string>string</string>
</Destinations>
<AdvertValues>
<NameValue>
<Name>string</Name>
<Value>string</Value>
<Values>
<string>string</string>
<string>string</string>
</Values>
</NameValue>
<NameValue>
<Name>string</Name>
<Value>string</Value>
<Values>
<string>string</string>
<string>string</string>
</Values>
</NameValue>
</AdvertValues>
<sValidateSuppliedFieldsOnly>string</sValidateSuppliedFieldsOnly>
<sAdvertIdentifier>string</sAdvertIdentifier>
<sAdvertReference>string</sAdvertReference>
<sAdvertID>string</sAdvertID>
<sSearchDays>string</sSearchDays>
</ValidateAdvertValues>
</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>
<ValidateAdvertValuesResponse xmlns="http://api.logicmelon.com/">
<ValidateAdvertResult>
<FieldIDsValid>
<int>int</int>
<int>int</int>
</FieldIDsValid>
<FieldIDsWarning>
<int>int</int>
<int>int</int>
</FieldIDsWarning>
<FieldIDsInvalid>
<int>int</int>
<int>int</int>
</FieldIDsInvalid>
<Valid>Valid or Warnings or Errors</Valid>
<Destinations>
<int>int</int>
<int>int</int>
</Destinations>
<MarkedForDelivery>boolean</MarkedForDelivery>
<ValidationResults>
<ValidateFieldResult>
<FieldID>int</FieldID>
<FieldIdentifier>string</FieldIdentifier>
<FieldLabel>string</FieldLabel>
<FieldComments>string</FieldComments>
<Comments>string</Comments>
<CultureID>string</CultureID>
<Valid>boolean</Valid>
<Message>string</Message>
<Value>string</Value>
<Values xsi:nil="true" />
</ValidateFieldResult>
<ValidateFieldResult>
<FieldID>int</FieldID>
<FieldIdentifier>string</FieldIdentifier>
<FieldLabel>string</FieldLabel>
<FieldComments>string</FieldComments>
<Comments>string</Comments>
<CultureID>string</CultureID>
<Valid>boolean</Valid>
<Message>string</Message>
<Value>string</Value>
<Values xsi:nil="true" />
</ValidateFieldResult>
</ValidationResults>
<APIAdvertWithPostings>
<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 xsi:nil="true" />
<APIPosting xsi:nil="true" />
</Postings>
</APIAdvertWithPostings>
</ValidateAdvertResult>
</ValidateAdvertValuesResponse>
</soap12:Body>
</soap12:Envelope>