Administration


API JSON Interface (JSON version of SOAP api interface)

Introduction

A set of JSON based API services to interact with the multiple job posting and applicant tracking system.

This is based on the XML based SOAP service but will accept and return JSON (and standard SOAP). Simply change your Content-Type to be application/json and convert the XML sample object into a compatible and similar JSON object and JSON will be returned. You can convert the XML to JSON structures here.

You can view JSON payload samples through Administration.ashx but the primary service end point (which supports XML and JSON) remains Administration.asmx.

Important: To receive back JSON the request has to be a POST made with the Content-Type: application/json to prevent CSS attacks. (Why HTTP POST with Content-Type: application/json)

By example:

POST https://api.logicmelon.com/JSON/Administration.ashx/FeedList HTTP/1.1
Content-Type: application/json
Host: api.logicmelon.com
Content-Length: nn

{ "Request":
{
	"sCultureID": "en-GB",
	"sAPIKey": "TBC",
	"sUsername": "string"
	"sPassword": "string"
	"sFeedNameSearch": "string"
  }
}

Responses commonly include a data object d

{
  "d": [{
"__type": "MPATSAPI.Models.CFeed",
"CultureID": "en",
"FeedNme": "Google",
"FeedID": 999,
"OrganisationID": 0,
"SortOrder": null,
"Value": "AC"
} ...
]
}

or an exception or message object

{
  "Message": "message",
  "StackTrace": "   at ...",
  "ExceptionType": "System.TypeOfException"
}

Service Description

The following operations are supported. For a formal definition, please review the Service Description.