Creating a Consumer Application
Initialize a DIS client as instructed in Initializing a DIS SDK Client Instance.
Use the DIS SDK to create a consumer application.
String appName = "appName";
var dic = new DISIngestionClient();
var request = new CreateAppRequest
{
//Name of the consumer application to be created.
AppName = appName,
};
ResponseResult response = dic.CreateApp(request);
Console.Out.WriteLine(response); Viewing Execution Results
Information similar to the following is displayed on the console:
{ResponseResult{status_code='201 Created', content='', errorCode='', message=''}} | Parameter | Type | Description |
|---|---|---|
| content | String | Response body. |
| errorCode | String | Error code. |
| message | String | Error response body. |
| status_code | String | Status code. |
Last Article: Obtaining a Data Cursor
Next Article: Deleting a Consumer Application
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.