POST admin/crm/activity/quick/create
Request Information
URI Parameters
None.
Body Parameters
CrmActivityCreateQuickView| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Max length: 256 |
|
| Types | Collection of CrmActivityTypeSelectListItemView |
None. |
|
| TypeId | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| StartDate | DateTimeView |
None. |
|
| EndDate | DateTimeView |
None. |
|
| SaleDealId | integer |
None. |
|
| PeopleActualIds | Collection of integer |
None. |
|
| PeopleLegalId | integer |
None. |
|
| CardId | integer |
None. |
|
| IsModal | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Types": [
{
"Id": 1,
"Title": "sample string 2",
"Icon": "sample string 3",
"Duration": 4,
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 7",
"Value": "sample string 8"
},
{
"Id": 1,
"Title": "sample string 2",
"Icon": "sample string 3",
"Duration": 4,
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 7",
"Value": "sample string 8"
}
],
"TypeId": 2,
"StartDate": {
"Date": "sample string 1",
"Time": "sample string 2"
},
"EndDate": {
"Date": "sample string 1",
"Time": "sample string 2"
},
"SaleDealId": 1,
"PeopleActualIds": [
1,
2
],
"PeopleLegalId": 1,
"CardId": 1,
"IsModal": true
}
application/xml, text/xml
Sample:
<CrmActivityCreateQuickView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.CrmActivityView">
<CardId>1</CardId>
<EndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">
<d2p1:Date>sample string 1</d2p1:Date>
<d2p1:Time>sample string 2</d2p1:Time>
</EndDate>
<IsModal>true</IsModal>
<Name>sample string 1</Name>
<PeopleActualIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</PeopleActualIds>
<PeopleLegalId>1</PeopleLegalId>
<SaleDealId>1</SaleDealId>
<StartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">
<d2p1:Date>sample string 1</d2p1:Date>
<d2p1:Time>sample string 2</d2p1:Time>
</StartDate>
<TypeId>2</TypeId>
<Types>
<CrmActivityTypeSelectListItemView>
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 7</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 8</Value>
<Duration>4</Duration>
<Icon>sample string 3</Icon>
<Id>1</Id>
<Title>sample string 2</Title>
</CrmActivityTypeSelectListItemView>
<CrmActivityTypeSelectListItemView>
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 7</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 8</Value>
<Duration>4</Duration>
<Icon>sample string 3</Icon>
<Id>1</Id>
<Title>sample string 2</Title>
</CrmActivityTypeSelectListItemView>
</Types>
</CrmActivityCreateQuickView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.