Update

From $1

    Doc-Wiki-BannerHK.png

    (Click the banner to go to the related Docs.Code.ExactTarget.com page.)

    Definition

    Updates individual objects or batches of objects.

    C# Syntax

    UpdateResult[] update = Update(Options, Objects, RequestID, OverallStatus)

    Parameters

    This method has the following parameters.

    NameData TypeDescription
    ObjectsAPIObject[]

    A collection of objects

    OptionsUpdateOptions

    Optionally specifies additional processing options

    OverallStatusString&

    Specifies the overall status of the request.

    RequestIDString&

    ExactTarget's unique identifier for every request.

    Description

    The Update method allows objects to be updated-individually or in batches. Multiple object types can be updated with one call. Objects are created in the order they are added to the APIObject array.

    Input

    • UpdateOptions - An UpdateOptions instance is required for this parameter. However, no properties need to be defined for the instance.
    • APIObjects - An array of objects to be acted upon. The objects are acted on in the order they have been added - first in, first out. This array can hold different object types. Therefore, complex interactions like updating an email, a list, and an email can be accomplished in one call.
    • RequestKey - This parameter contains a string value containing an output variable of the key of the request. By default, this value will be an ExactTarget generated GUID.
    • OverallStatus - This parameter returns a string value containing the overall status of the request. Valid status values include:
      • OK - Status code stating that all objects were updated successfully.
      • Has Error - Valid for Update calls with multiple APIObject objects, this status code states that some of the operations failed, while some succeeded.
      • Error - This status code states that all update operations failed during validation or processing.
    NOTE: Do not use the Update method to create new objects. Trying to create new objects using the Update method will cause the overall status to not be Has Error or Error.

    Output

    • UpdateResult - An array of objects holding a list of return values. The objects are returned in the order acted upon-again, first in, first out. This array contains one UpdateResult object per input APIObject.

     

    Objects

    The following objects are supported by this method.

    NameDescription
    AccountAn ExactTarget account.
    AccountUserAn individual user within an account.
    BrandReserved for future use.
    BrandTagContains configuration data used by the system to brand the user interface.
    BusinessUnitA unit within a larger Enterprise or Enterprise 2.0 account.
    ContentAreaA defined section of reusable content.
    DataExtensionRepresents a data extension within an account.
    DataExtensionObjectRepresents a row within a data extension.
    DeliveryProfileContains information on a single delivery profile within an account.
    EmailRepresents an email in an ExactTarget account.
    EmailSendDefinitionRecord that contains the message information, sender profile, delivery profile, and audience information.
    FileTransferActivityRepresents an instance of a file transfer activity within an account.
    FileTriggerReserved for future use.
    FilterDefinitionDefines an audience based on specified rules in a filter.
    GlobalUnsubscribeCategoryReserved for future use.
    GroupGroup of subscribers defined in the application UI.
    ImportDefinitionDefines a reusable pattern of import options.
    ImportResultsSummaryA retrieve-only object that contains status and aggregate information on an individual import started from an ImportDefinition.
    ListA marketing list of subscribers.
    MessagingConfigurationDeprecated.
    MessagingVendorKindContains the vendor details for an SMS (short message service) or voice messaging vendor. Deprecated.
    PlatformApplicationReserved for future use.
    PortfolioIndicates a file within the Portfolio of an ExactTarget account.
    ProgramManifestTemplateReserved for future use.
    PublicationReserved for future use.
    PublicKeyManagementReserved for future use.
    QueryDefinitionReserved for future use.
    ReplyMailManagementConfigurationDetails configuration settings for the reply mail management in an account.
    SendUsed to send email and retrieve aggregate data based on a JobID.
    SendClassificationRepresents a send classification in an ExactTarget account.
    SenderProfileThe send profile used in conjunction with an email send definition.
    SubscriberA person subscribed to receive email or SMS communication.
    SubscriberListUse to retrieve lists for a specific subscriber.
    SuppressionListDataA single address stored on a suppression list.
    SuppressionListDefinitionA suppression list that can be associated with different contexts.
    TriggeredSendRepresents a specific instance of a triggered email send.
    TriggeredSendDefinitionDefines a triggered send in the account.

    Use Cases


    This page was last updated by Ryan Williams on Fri, 06 Jan 2012 21:47:10 GMT.

    If you require assistance with the ExactTarget application, please contact Global Support. If you wish to send Ryan direct feedback, fill out the form below:

     


    Was This Page Helpful?
    Suggestions or Comments:
    Name (optional):
    Email Address (optional):
    Enter 16450 backwards:
       
    Tags: (Edit tags)
    • No tags
     
    Comments (0)
    You must login to post a comment.

     
    Powered by MindTouch 2010
    Admin