MediaUpdateOptions Class

Specifies options to use for updating Media Resources.

Namespace: powerGate.Erp.Client
Assembly: powerGate.Erp.Client.dll

Inheritance Hierarchy

System.Object
powerGate.Erp.Client.MediaUpdateOptions

Syntax

1
public class MediaUpdateOptions

The MediaUpdateOptions type exposes the following members.

Constructors

Name

Description

../../../_images/method.ico MediaUpdateOptions()

Initializes a new instance of the MediaUpdateOptions class.

Properties

Type

Name

Description

../../../_images/prop.ico Dictionary<string, object>

Keys

The reference properties for searching the item which uniquely identifies the Entity.

../../../_images/prop.ico string

ContentType

Specifies the content type of the HTTP request.

../../../_images/prop.ico Stream

Data

Stream of Data to upload to the ERP System.

Remarks

The ContentType is used to specify the nature of the Data being uploaded. With the appropriate content type the web browser can open the Data with the proper extension/plugin.
If the content type contains text (e.g text/plain, text/html…) as type or json , xml (e.g application/json, application/xml…) as subtype, then the content of the Data is uploaded to the server as UTF-8 Encoded text.

See also

Reference