Multiposter


Click here for a complete list of operations.

GetAdvertPaged

from GetAdvertWithValuesWithFiltersPaged

Paged version of GetAdvert. 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" ... }, "CurrentPage": 1, "RowsPerPage": 10, "OrderBy": "LastPostDate desc" }

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/GetAdvertPaged 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(),
    "FieldIDs": [
      "string",
      "string"
   },
    "sAdvertStatusIDs": "string",
    "sHideFutureJobs": "string",
    "sLastScoreDate": "string",
    "LastScoreDate": Date(),
    "sLastProgressDate": "string",
    "LastProgressDate": Date()
  },
  "CurrentPage": int,
  "RowsPerPage": int,
  "OrderBy": "string"
}
  
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

  
{ "d": {
    "PageCount": int,
    "PageIndex": int,
    "TotalItemCount": int,
    "AdvertWithValues": [
      { "__type":"MPATSAPI.Models.APIAdvertWithValues",
        { "object": "object" },
        { "object": "object" }
      },
      { "__type":"MPATSAPI.Models.APIAdvertWithValues",
        { "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/GetAdvertPaged 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(),
    "FieldIDs": [
      "string",
      "string"
   },
    "sAdvertStatusIDs": "string",
    "sHideFutureJobs": "string",
    "sLastScoreDate": "string",
    "LastScoreDate": Date(),
    "sLastProgressDate": "string",
    "LastProgressDate": Date()
  },
  "CurrentPage": int,
  "RowsPerPage": int,
  "OrderBy": "string"
}
  
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

  
{ "d": {
    "PageCount": int,
    "PageIndex": int,
    "TotalItemCount": int,
    "AdvertWithValues": [
      { "__type":"MPATSAPI.Models.APIAdvertWithValues",
        { "object": "object" },
        { "object": "object" }
      },
      { "__type":"MPATSAPI.Models.APIAdvertWithValues",
        { "object": "object" },
        { "object": "object" }
      },
   }
  ]
}