All the Opencell API web service response must extend this class.
name | data type | description |
---|---|---|
contracts | array of ContractDto | |
actionStatus | ActionStatus | The status response of the web service response. |
Example
{ "contracts" : [ { "contractAccountLevel" : "BILLING_ACCOUNT", "accountCode" : "...", "status" : "CLOSED", "statusDate" : 12345, "contractDate" : 12345, "beginDate" : 12345, "endDate" : 12345, "renewal" : true, "contractDuration" : 12345, "customFields" : { "customField" : [ { }, { } ], "inheritedCustomField" : [ { }, { } ] }, "billingRules" : [ { "invoicedBACodeEL" : "...", "criteriaEL" : "...", "priority" : 12345 }, { "invoicedBACodeEL" : "...", "criteriaEL" : "...", "priority" : 12345 } ], "id" : 12345, "auditableField" : [ { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." }, { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." } ], "code" : "...", "description" : "...", "updatedCode" : "..." }, { "contractAccountLevel" : "BILLING_ACCOUNT", "accountCode" : "...", "status" : "DRAFT", "statusDate" : 12345, "contractDate" : 12345, "beginDate" : 12345, "endDate" : 12345, "renewal" : true, "contractDuration" : 12345, "customFields" : { "customField" : [ { }, { } ], "inheritedCustomField" : [ { }, { } ] }, "billingRules" : [ { "invoicedBACodeEL" : "...", "criteriaEL" : "...", "priority" : 12345 }, { "invoicedBACodeEL" : "...", "criteriaEL" : "...", "priority" : 12345 } ], "id" : 12345, "auditableField" : [ { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." }, { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." } ], "code" : "...", "description" : "...", "updatedCode" : "..." } ], "actionStatus" : { "status" : "WARNING", "errorCode" : { }, "message" : "...", "entityId" : 12345, "entityCode" : "...", "nrAffected" : 12345, "json" : "..." } }