Administration


Click here for a complete list of operations.

FeedAuthenticationAddUpdate

from FeedAuthenticationAddUpdate

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 CFeedWithAuthentication class and the CFeed items are in general ignored
FeedID, FeedIdentifier, FeedCost, FeedCostTypeID, CurrencyID, TurnOffDate, DefaultSelected, ForceSelected, Restricted, ReferencePrefix, ReferenceSuffix, ClientIdentifier, ClientName, OrganisationID, OrganisationIdentifier, UserID, UserIdentifier, AuthValue1, AuthValue2, AuthValue3, AuthValue4, AuthValue5,

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/FeedAuthenticationAddUpdate 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",
    "FeedAuthentications": [
      { "__type":"MPATSAPI.Models.CFeedAuthentication",
        "FeedCost": decimal,
        "FeedCostTypeID": "Posting or Week",
        "CurrencyID": "string",
        "TurnOffDate": Date(),
        "DefaultSelected": boolean,
        "ForceSelected": boolean,
        "Restricted": boolean,
        "ReferencePrefix": "string",
        "ReferenceSuffix": "string",
        "ClientIdentifier": "string",
        "ClientName": "string",
        "FeedID": int,
        "FeedIdentifier": "string",
        "OrganisationID": int,
        "OrganisationIdentifier": "string",
        "OrganisationName": "string",
        "UserID": int,
        "UserIdentifier": "string",
        "UserFullName": "string",
        "AuthValue1": "string",
        "AuthValue2": "string",
        "AuthValue3": "string",
        "AuthValue4": "string",
        "AuthValue5": "string"
     },
      { "__type":"MPATSAPI.Models.CFeedAuthentication",
        "FeedCost": decimal,
        "FeedCostTypeID": "Posting or Week",
        "CurrencyID": "string",
        "TurnOffDate": Date(),
        "DefaultSelected": boolean,
        "ForceSelected": boolean,
        "Restricted": boolean,
        "ReferencePrefix": "string",
        "ReferenceSuffix": "string",
        "ClientIdentifier": "string",
        "ClientName": "string",
        "FeedID": int,
        "FeedIdentifier": "string",
        "OrganisationID": int,
        "OrganisationIdentifier": "string",
        "OrganisationName": "string",
        "UserID": int,
        "UserIdentifier": "string",
        "UserFullName": "string",
        "AuthValue1": "string",
        "AuthValue2": "string",
        "AuthValue3": "string",
        "AuthValue4": "string",
        "AuthValue5": "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/FeedAuthenticationAddUpdate 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",
    "FeedAuthentications": [
      { "__type":"MPATSAPI.Models.CFeedAuthentication",
        "FeedCost": decimal,
        "FeedCostTypeID": "Posting or Week",
        "CurrencyID": "string",
        "TurnOffDate": Date(),
        "DefaultSelected": boolean,
        "ForceSelected": boolean,
        "Restricted": boolean,
        "ReferencePrefix": "string",
        "ReferenceSuffix": "string",
        "ClientIdentifier": "string",
        "ClientName": "string",
        "FeedID": int,
        "FeedIdentifier": "string",
        "OrganisationID": int,
        "OrganisationIdentifier": "string",
        "OrganisationName": "string",
        "UserID": int,
        "UserIdentifier": "string",
        "UserFullName": "string",
        "AuthValue1": "string",
        "AuthValue2": "string",
        "AuthValue3": "string",
        "AuthValue4": "string",
        "AuthValue5": "string"
     },
      { "__type":"MPATSAPI.Models.CFeedAuthentication",
        "FeedCost": decimal,
        "FeedCostTypeID": "Posting or Week",
        "CurrencyID": "string",
        "TurnOffDate": Date(),
        "DefaultSelected": boolean,
        "ForceSelected": boolean,
        "Restricted": boolean,
        "ReferencePrefix": "string",
        "ReferenceSuffix": "string",
        "ClientIdentifier": "string",
        "ClientName": "string",
        "FeedID": int,
        "FeedIdentifier": "string",
        "OrganisationID": int,
        "OrganisationIdentifier": "string",
        "OrganisationName": "string",
        "UserID": int,
        "UserIdentifier": "string",
        "UserFullName": "string",
        "AuthValue1": "string",
        "AuthValue2": "string",
        "AuthValue3": "string",
        "AuthValue4": "string",
        "AuthValue5": "string"
     }
   },
    "sBoolAdvancedDontUpdateCache": "string"
  }
}
  
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

  
{ "d": [ or {boolean]
}