POST api/AccountApi/EditCodeType

Request Information

URI Parameters

None.

Body Parameters

CodeTypeDTO
NameDescriptionTypeAdditional information
CodeTypeId

integer

None.

CodeTypeName

string

None.

CodeTypeValue

string

None.

Remark

string

None.

Codes

Collection of CodeDTO

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CodeTypeId": 1,
  "CodeTypeName": "sample string 2",
  "CodeTypeValue": "sample string 3",
  "Remark": "sample string 4",
  "Codes": [
    {
      "$id": "2",
      "CodeId": 1,
      "CodeName": "sample string 2",
      "Remark": "sample string 3",
      "Index": 4,
      "Expand1": "sample string 5",
      "Expand2": "sample string 6",
      "Expand3": "sample string 7",
      "CodeTypeId": 8,
      "CodeTypeName": "sample string 9",
      "IsDeleted": true,
      "CreatedBy": "sample string 11",
      "CreatedDate": "2021-11-27T05:33:56.7332893+00:00",
      "ModifiedBy": "sample string 13",
      "ModifiedDate": "2021-11-27T05:33:56.7332893+00:00"
    },
    {
      "$ref": "2"
    }
  ],
  "IsDeleted": true,
  "CreatedBy": "sample string 6",
  "CreatedDate": "2021-11-27T05:33:56.7332893+00:00",
  "ModifiedBy": "sample string 8",
  "ModifiedDate": "2021-11-27T05:33:56.7332893+00:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfBoolean
NameDescriptionTypeAdditional information
ResultType

ServiceResultType

None.

message

string

None.

LogMessage

string

None.

Result

boolean

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultType": 0,
  "message": "sample string 1",
  "LogMessage": "sample string 2",
  "Result": true,
  "success": true
}