Multiposter


Click here for a complete list of operations.

DeliverAdvert

Validate an existing advert against a supplied set of destinations and mark for delivery if valid.

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/DeliverAdvert"

<?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>
    <DeliverAdvert 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>
      <FuturePostDateTimeInUtc>dateTime</FuturePostDateTimeInUtc>
      <sAdvertIdentifier>string</sAdvertIdentifier>
      <sAdvertReference>string</sAdvertReference>
      <sAdvertID>string</sAdvertID>
      <sSearchDays>string</sSearchDays>
    </DeliverAdvert>
  </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>
    <DeliverAdvertResponse 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>
    </DeliverAdvertResponse>
  </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>
    <DeliverAdvert 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>
      <FuturePostDateTimeInUtc>dateTime</FuturePostDateTimeInUtc>
      <sAdvertIdentifier>string</sAdvertIdentifier>
      <sAdvertReference>string</sAdvertReference>
      <sAdvertID>string</sAdvertID>
      <sSearchDays>string</sSearchDays>
    </DeliverAdvert>
  </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>
    <DeliverAdvertResponse 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>
    </DeliverAdvertResponse>
  </soap12:Body>
</soap12:Envelope>