<PackageReference Include="Relativity.Import.Models.SDK" Version="1.2.1" />

Relativity.Import.V1.Response

public class Response
Model used as general response for import-service POST endpoints.
public string ErrorCode { get; }

Gets error code for particular error.

public string ErrorMessage { get; }

Gets error message.

public Guid ImportJobID { get; }

Gets GUID identifier of existing import Job or empty Guid (00000000-0000-0000-0000-000000000000) if there is no import job yet.

public bool IsSuccess { get; }

Gets a value indicating whether request was successfully completed.

public Response(Guid importJobID, bool isSuccess, string errorMessage, string errorCode)

Initializes a new instance of the Response class.

public static Response CreateForSuccess(Guid importJobID)

Creates response instance for success.