POST fxo/Compliance/CaseManagement

Request Information

URI Parameters

None.

Body Parameters

SaveCaseManagement
NameDescriptionTypeAdditional information
case_management

CreateCaseManagement

Required

detail

CaseManagementDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "case_management": {
    "entity_id": 1,
    "case_file_number": "sample string 2",
    "case_type": {
      "value": "sample string 1",
      "id": 2
    },
    "trans_date": "sample string 3",
    "owner_id": 4,
    "source": 5,
    "source_id": 6,
    "source_no": "sample string 7",
    "case_status": 8,
    "start_date": "sample string 9",
    "expected_end_date": "sample string 10",
    "end_date": "sample string 11",
    "progress_percent": 12.1,
    "subject": "sample string 13",
    "severity": {
      "value": "sample string 1",
      "id": 2
    }
  },
  "detail": {
    "id": 1,
    "date": "sample string 2",
    "contact_person": 3,
    "comments": "sample string 4",
    "add_to_crm": true,
    "remind_via": 6,
    "remind_on": "sample string 7",
    "is_crm_enabled": 8
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveCaseManagement'.

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

DSOutput
NameDescriptionTypeAdditional information
status

boolean

None.

data

Object

None.

code

integer

None.

message

string

None.

error

Error

None.

paging

Paging

None.

additional_codes

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "data": {},
  "code": 0,
  "message": "sample string 3",
  "error": {
    "code": 0,
    "message": "sample string 1",
    "target": "sample string 2",
    "details": [
      {
        "code": 0,
        "target": "sample string 1",
        "message": "sample string 2"
      },
      {
        "code": 0,
        "target": "sample string 1",
        "message": "sample string 2"
      }
    ]
  },
  "paging": {
    "page_number": 1,
    "page_size": 2,
    "page_from": 3,
    "page_to": 4,
    "record_count": 5
  },
  "additional_codes": "sample string 4"
}

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.