Administration


Click here for a complete list of operations.

FeedQuotaAddUpdate

from FeedQuotaAddUpdate

Update one or more sets of feed credentials.
Optionally specify a higher level login and a sOrganisationIdentifier or sUserIdentifier.


The following items are processed on the CFeedWithQuota class and the CFeed items are in general ignored
FeedID, FeedIdentifier, Slots, Postings, Spend, QuotaWarningLevel, SchedulePostings, ScheduleSpend, ScheduleTrigger, OrganisationID, OrganisationIdentifier, UserID, UserIdentifier,

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

{
  "Request": {
    "sCultureID": "string",
    "sAPIKey": "string",
    "sUsername": "string",
    "sPassword": "string",
    "sOrganisationIdentifier": "string",
    "sUserIdentifier": "string",
    "FeedQuotas": [
      { "__type":"MPATSAPI.Models.CFeedQuota",
        "Slots": decimal,
        "Postings": "decimal],
        "Spend": decimal,
        "CurrencyID": "string",
        "QuotaWarningLevel": decimal,
        "SchedulePostings": decimal,
        "ScheduleSpend": decimal,
        "ScheduleTrigger": "long",
        "FeedID": int,
        "FeedIdentifier": "string",
        "OrganisationID": int,
        "OrganisationIdentifier": "string",
        "OrganisationName": "string",
        "UserID": int,
        "UserIdentifier": "string",
        "UserFullName": "string"
     },
      { "__type":"MPATSAPI.Models.CFeedQuota",
        "Slots": decimal,
        "Postings": "decimal],
        "Spend": decimal,
        "CurrencyID": "string",
        "QuotaWarningLevel": decimal,
        "SchedulePostings": decimal,
        "ScheduleSpend": decimal,
        "ScheduleTrigger": "long",
        "FeedID": int,
        "FeedIdentifier": "string",
        "OrganisationID": int,
        "OrganisationIdentifier": "string",
        "OrganisationName": "string",
        "UserID": int,
        "UserIdentifier": "string",
        "UserFullName": "string"
     }
   },
    "sBoolAdvancedDontUpdateCache": "string"
  }
}
  
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

  
{ "d": [ or {boolean]
}
  

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

{
  "Request": {
    "sCultureID": "string",
    "sAPIKey": "string",
    "sUsername": "string",
    "sPassword": "string",
    "sOrganisationIdentifier": "string",
    "sUserIdentifier": "string",
    "FeedQuotas": [
      { "__type":"MPATSAPI.Models.CFeedQuota",
        "Slots": decimal,
        "Postings": "decimal],
        "Spend": decimal,
        "CurrencyID": "string",
        "QuotaWarningLevel": decimal,
        "SchedulePostings": decimal,
        "ScheduleSpend": decimal,
        "ScheduleTrigger": "long",
        "FeedID": int,
        "FeedIdentifier": "string",
        "OrganisationID": int,
        "OrganisationIdentifier": "string",
        "OrganisationName": "string",
        "UserID": int,
        "UserIdentifier": "string",
        "UserFullName": "string"
     },
      { "__type":"MPATSAPI.Models.CFeedQuota",
        "Slots": decimal,
        "Postings": "decimal],
        "Spend": decimal,
        "CurrencyID": "string",
        "QuotaWarningLevel": decimal,
        "SchedulePostings": decimal,
        "ScheduleSpend": decimal,
        "ScheduleTrigger": "long",
        "FeedID": int,
        "FeedIdentifier": "string",
        "OrganisationID": int,
        "OrganisationIdentifier": "string",
        "OrganisationName": "string",
        "UserID": int,
        "UserIdentifier": "string",
        "UserFullName": "string"
     }
   },
    "sBoolAdvancedDontUpdateCache": "string"
  }
}
  
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

  
{ "d": [ or {boolean]
}