POST api/v1/ConfigCRMTeleQuestion/Add
Request Information
URI Parameters
None.
Body Parameters
ConfigCRMTeleQuestionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| ColorCode | string |
None. |
|
| Name | string |
None. |
|
| Code | string |
None. |
|
| OrderNo | integer |
None. |
|
| IsDisable | boolean |
None. |
|
| Note | string |
None. |
|
| QuestionContexts | Collection of ConfigCRMTeleQuestion_Context_MappingModel |
None. |
|
| ConfigTeleQuestionContextId | string |
None. |
|
| ParentId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"ColorCode": "sample string 2",
"Name": "sample string 3",
"Code": "sample string 4",
"OrderNo": 5,
"IsDisable": true,
"Note": "sample string 7",
"QuestionContexts": [
{
"Id": "sample string 1",
"ConfigCRMTeleQuestionId": "sample string 2",
"ConfigCRMTeleQuestionContextId": "sample string 3",
"ConfigCRMTeleQuestionContextName": "sample string 4",
"Note": "sample string 5"
},
{
"Id": "sample string 1",
"ConfigCRMTeleQuestionId": "sample string 2",
"ConfigCRMTeleQuestionContextId": "sample string 3",
"ConfigCRMTeleQuestionContextName": "sample string 4",
"Note": "sample string 5"
}
],
"ConfigTeleQuestionContextId": "sample string 8",
"ParentId": "sample string 9"
}
application/xml, text/xml
Sample:
<ConfigCRMTeleQuestionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
<Code>sample string 4</Code>
<ColorCode>sample string 2</ColorCode>
<ConfigTeleQuestionContextId>sample string 8</ConfigTeleQuestionContextId>
<Id>sample string 1</Id>
<IsDisable>true</IsDisable>
<Name>sample string 3</Name>
<Note>sample string 7</Note>
<OrderNo>5</OrderNo>
<ParentId>sample string 9</ParentId>
<QuestionContexts>
<ConfigCRMTeleQuestion_Context_MappingModel>
<ConfigCRMTeleQuestionContextId>sample string 3</ConfigCRMTeleQuestionContextId>
<ConfigCRMTeleQuestionContextName>sample string 4</ConfigCRMTeleQuestionContextName>
<ConfigCRMTeleQuestionId>sample string 2</ConfigCRMTeleQuestionId>
<Id>sample string 1</Id>
<Note>sample string 5</Note>
</ConfigCRMTeleQuestion_Context_MappingModel>
<ConfigCRMTeleQuestion_Context_MappingModel>
<ConfigCRMTeleQuestionContextId>sample string 3</ConfigCRMTeleQuestionContextId>
<ConfigCRMTeleQuestionContextName>sample string 4</ConfigCRMTeleQuestionContextName>
<ConfigCRMTeleQuestionId>sample string 2</ConfigCRMTeleQuestionId>
<Id>sample string 1</Id>
<Note>sample string 5</Note>
</ConfigCRMTeleQuestion_Context_MappingModel>
</QuestionContexts>
</ConfigCRMTeleQuestionModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
EzyResultObjectOfConfigCRMTeleQuestionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ConfigCRMTeleQuestionModel |
None. |
|
| ExtraData | Dictionary of string [key] and Object [value] |
None. |
|
| StartTime | decimal number |
None. |
|
| EndTime | decimal number |
None. |
|
| TotalMili | decimal number |
None. |
|
| StatusCode | integer |
None. |
|
| Msg | string |
None. |
|
| MsgShowInUI | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"Id": "sample string 1",
"ColorCode": "sample string 2",
"Name": "sample string 3",
"Code": "sample string 4",
"OrderNo": 5,
"IsDisable": true,
"Note": "sample string 7",
"QuestionContexts": [
{
"Id": "sample string 1",
"ConfigCRMTeleQuestionId": "sample string 2",
"ConfigCRMTeleQuestionContextId": "sample string 3",
"ConfigCRMTeleQuestionContextName": "sample string 4",
"Note": "sample string 5"
},
{
"Id": "sample string 1",
"ConfigCRMTeleQuestionId": "sample string 2",
"ConfigCRMTeleQuestionContextId": "sample string 3",
"ConfigCRMTeleQuestionContextName": "sample string 4",
"Note": "sample string 5"
}
],
"ConfigTeleQuestionContextId": "sample string 8",
"ParentId": "sample string 9"
},
"ExtraData": null,
"StartTime": 1.1,
"EndTime": 2.1,
"TotalMili": 3.1,
"StatusCode": 4,
"Msg": "sample string 5",
"MsgShowInUI": "sample string 6"
}
application/xml, text/xml
Sample:
<EzyResultObjectOfConfigCRMTeleQuestionModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
<Msg>sample string 5</Msg>
<MsgShowInUI>sample string 6</MsgShowInUI>
<StatusCode>4</StatusCode>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
<d2p1:Code>sample string 4</d2p1:Code>
<d2p1:ColorCode>sample string 2</d2p1:ColorCode>
<d2p1:ConfigTeleQuestionContextId>sample string 8</d2p1:ConfigTeleQuestionContextId>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:IsDisable>true</d2p1:IsDisable>
<d2p1:Name>sample string 3</d2p1:Name>
<d2p1:Note>sample string 7</d2p1:Note>
<d2p1:OrderNo>5</d2p1:OrderNo>
<d2p1:ParentId>sample string 9</d2p1:ParentId>
<d2p1:QuestionContexts>
<d2p1:ConfigCRMTeleQuestion_Context_MappingModel>
<d2p1:ConfigCRMTeleQuestionContextId>sample string 3</d2p1:ConfigCRMTeleQuestionContextId>
<d2p1:ConfigCRMTeleQuestionContextName>sample string 4</d2p1:ConfigCRMTeleQuestionContextName>
<d2p1:ConfigCRMTeleQuestionId>sample string 2</d2p1:ConfigCRMTeleQuestionId>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:Note>sample string 5</d2p1:Note>
</d2p1:ConfigCRMTeleQuestion_Context_MappingModel>
<d2p1:ConfigCRMTeleQuestion_Context_MappingModel>
<d2p1:ConfigCRMTeleQuestionContextId>sample string 3</d2p1:ConfigCRMTeleQuestionContextId>
<d2p1:ConfigCRMTeleQuestionContextName>sample string 4</d2p1:ConfigCRMTeleQuestionContextName>
<d2p1:ConfigCRMTeleQuestionId>sample string 2</d2p1:ConfigCRMTeleQuestionId>
<d2p1:Id>sample string 1</d2p1:Id>
<d2p1:Note>sample string 5</d2p1:Note>
</d2p1:ConfigCRMTeleQuestion_Context_MappingModel>
</d2p1:QuestionContexts>
</Data>
<EndTime>2.1</EndTime>
<ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<StartTime>1.1</StartTime>
<TotalMili>3.1</TotalMili>
</EzyResultObjectOfConfigCRMTeleQuestionModel3BwjWE5f>