Multiposter


Click here for a complete list of operations.

DeliverAdvert

from DeliverAdvert

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

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/DeliverAdvert HTTP/1.1
Host: api.logicmelon.com
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()
  }
}
  
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/DeliverAdvert HTTP/1.1
Host: api.logicmelon.com
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()
  }
}
  
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" }
      ],
   }
  ]
}