GET api/Config/GetConfigByType?ctype={ctype}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ctype | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ServerResponseOfListOfbase_config| Name | Description | Type | Additional information |
|---|---|---|---|
| Entity | Collection of base_config |
None. |
|
| errcode |
返回码 |
integer |
None. |
| errmsg |
对返回码的文本描述内容 |
string |
None. |
| ReturnValue |
返回值 |
Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Entity": [
{
"id": 1,
"content": "sample string 2",
"ctype": "sample string 3"
},
{
"id": 1,
"content": "sample string 2",
"ctype": "sample string 3"
}
],
"errcode": 1,
"errmsg": "sample string 2",
"ReturnValue": {}
}
multipart/form-data
Sample:
<ServerResponseOfArrayOfbase_config_PZC5QaEm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyman.Api.Models"><_x003C_ReturnValue_x003E_k__BackingField /><_x003C_errcode_x003E_k__BackingField>1</_x003C_errcode_x003E_k__BackingField><_x003C_errmsg_x003E_k__BackingField>sample string 2</_x003C_errmsg_x003E_k__BackingField><_x003C_Entity_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/Easyman.Model"><d2p1:base_config><d2p1:content>sample string 2</d2p1:content><d2p1:ctype>sample string 3</d2p1:ctype><d2p1:id>1</d2p1:id></d2p1:base_config><d2p1:base_config><d2p1:content>sample string 2</d2p1:content><d2p1:ctype>sample string 3</d2p1:ctype><d2p1:id>1</d2p1:id></d2p1:base_config></_x003C_Entity_x003E_k__BackingField></ServerResponseOfArrayOfbase_config_PZC5QaEm>