POST api/case/AddCaseType

Request Information

URI Parameters

None.

Body Parameters

tbl_CaseType_MasterVM
NameDescriptionTypeAdditional information
ID

integer

None.

CaseType_Data

string

None.

CountryCode

string

None.

CaseGroup

string

None.

Active

integer

None.

BusinessAcctID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CaseType_Data": "sample string 2",
  "CountryCode": "sample string 3",
  "CaseGroup": "sample string 4",
  "Active": 1,
  "BusinessAcctID": 1
}

application/xml, text/xml

Sample:
<tbl_CaseType_MasterVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Case_Management_DAL.ViewModel">
  <Active>1</Active>
  <BusinessAcctID>1</BusinessAcctID>
  <CaseGroup>sample string 4</CaseGroup>
  <CaseType_Data>sample string 2</CaseType_Data>
  <CountryCode>sample string 3</CountryCode>
  <ID>1</ID>
</tbl_CaseType_MasterVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ErrorClass
NameDescriptionTypeAdditional information
Msg

string

None.

Status

string

None.

IsSuccess

boolean

None.

retrn

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "Status": "sample string 2",
  "IsSuccess": true,
  "retrn": {}
}

application/xml, text/xml

Sample:
<ErrorClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMC_WebAPI.Utilities">
  <IsSuccess>true</IsSuccess>
  <Msg>sample string 1</Msg>
  <Status>sample string 2</Status>
  <retrn />
</ErrorClass>