Administration


Click here for a complete list of operations.

GetWeeksToAdvertise

from GetWeeksToAdvertise

Returns a list of valid schedule triggers.

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/Administration.asmx/GetWeeksToAdvertise HTTP/1.1
Host: api.logicmelon.com
Content-Type: application/json; charset=utf-8
Content-Length: length

{
  "Request": {
    "sCultureID": "string",
    "sAPIKey": "string"
  }
}
  
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

  
{ "d": [ or {
    { "__type":"MPATSAPI.Models.GetValue",
      "CultureID": "string",
      "Description": "string",
      "FieldID": int,
      "OrganisationID": int,
      "SortOrder": int,
      "Value": "string"
    },
    { "__type":"MPATSAPI.Models.GetValue",
      "CultureID": "string",
      "Description": "string",
      "FieldID": int,
      "OrganisationID": int,
      "SortOrder": int,
      "Value": "string"
    },
  ]
}
  

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/Administration.asmx/GetWeeksToAdvertise HTTP/1.1
Host: api.logicmelon.com
Content-Type: application/json; charset=utf-8
Content-Length: length

{
  "Request": {
    "sCultureID": "string",
    "sAPIKey": "string"
  }
}
  
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

  
{ "d": [ or {
    { "__type":"MPATSAPI.Models.GetValue",
      "CultureID": "string",
      "Description": "string",
      "FieldID": int,
      "OrganisationID": int,
      "SortOrder": int,
      "Value": "string"
    },
    { "__type":"MPATSAPI.Models.GetValue",
      "CultureID": "string",
      "Description": "string",
      "FieldID": int,
      "OrganisationID": int,
      "SortOrder": int,
      "Value": "string"
    },
  ]
}