POST Api/Crm/Note/CreateEdit
Request Information
URI Parameters
None.
Body Parameters
CrmNoteCreateEditView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IsCreate | boolean |
None. |
|
| RelatedTypeCode | string |
None. |
|
| RelatedId | integer |
None. |
|
| Text | string |
Min length: 10 |
|
| Attachment | GalleryCreateEditView |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IsCreate": true,
"RelatedTypeCode": "sample string 3",
"RelatedId": 4,
"Text": "sample string 5",
"Attachment": {
"Items": [
{
"HasFile": true,
"IsExternalUrl": true,
"IsExternalCode": true,
"Index": 64,
"Id": 5,
"FileFormatId": 6,
"IsCreate": true,
"PrefixModelItem": "sample string 8",
"IsActive": true,
"FileDomain": "sample string 10",
"FileExtension": "sample string 11",
"Description": "sample string 12",
"Alt": "sample string 13",
"FilePath": "sample string 14",
"ExternalCode": "sample string 15",
"ExternalCodeFormat": "sample string 16",
"Order": 17,
"FileType": 0,
"Style": 0,
"Token": "sample string 18",
"FileServerId": 19
},
{
"HasFile": true,
"IsExternalUrl": true,
"IsExternalCode": true,
"Index": 64,
"Id": 5,
"FileFormatId": 6,
"IsCreate": true,
"PrefixModelItem": "sample string 8",
"IsActive": true,
"FileDomain": "sample string 10",
"FileExtension": "sample string 11",
"Description": "sample string 12",
"Alt": "sample string 13",
"FilePath": "sample string 14",
"ExternalCode": "sample string 15",
"ExternalCodeFormat": "sample string 16",
"Order": 17,
"FileType": 0,
"Style": 0,
"Token": "sample string 18",
"FileServerId": 19
}
],
"Id": 1,
"IsCreate": true,
"IsShowGalleryForModify": true,
"GalleryItemPrefixModelItem": "sample string 4",
"Title": "sample string 5",
"Width": 6,
"Height": 7,
"PerRow": 1,
"DisplayType": 0,
"AutoPlayDelay": 1,
"Description": "sample string 8",
"ShowUploadedItems": true,
"InputLabelCode": "sample string 10"
}
}
application/xml, text/xml
Sample:
<CrmNoteCreateEditView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.CrmNoteView">
<Attachment xmlns:d2p1="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GalleryView">
<AutoPlayDelay xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">1</AutoPlayDelay>
<Description xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 8</Description>
<DisplayType xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">None</DisplayType>
<GalleryItemPrefixModelItem xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 4</GalleryItemPrefixModelItem>
<Height xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">7</Height>
<Id xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">1</Id>
<InputLabelCode xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 10</InputLabelCode>
<IsCreate xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsCreate>
<IsShowGalleryForModify xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsShowGalleryForModify>
<Items xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">
<CoreGalleryItemCreateEditView>
<Alt>sample string 13</Alt>
<Description>sample string 12</Description>
<ExternalCode>sample string 15</ExternalCode>
<ExternalCodeFormat>sample string 16</ExternalCodeFormat>
<FileDomain>sample string 10</FileDomain>
<FileExtension>sample string 11</FileExtension>
<FileFormatId>6</FileFormatId>
<FilePath>sample string 14</FilePath>
<FileServerId>19</FileServerId>
<FileType>None</FileType>
<HasFile>true</HasFile>
<Id>5</Id>
<Index>64</Index>
<IsActive>true</IsActive>
<IsCreate>true</IsCreate>
<IsExternalCode>true</IsExternalCode>
<IsExternalUrl>true</IsExternalUrl>
<Order>17</Order>
<PrefixModelItem>sample string 8</PrefixModelItem>
<Style>Default</Style>
<Token>sample string 18</Token>
</CoreGalleryItemCreateEditView>
<CoreGalleryItemCreateEditView>
<Alt>sample string 13</Alt>
<Description>sample string 12</Description>
<ExternalCode>sample string 15</ExternalCode>
<ExternalCodeFormat>sample string 16</ExternalCodeFormat>
<FileDomain>sample string 10</FileDomain>
<FileExtension>sample string 11</FileExtension>
<FileFormatId>6</FileFormatId>
<FilePath>sample string 14</FilePath>
<FileServerId>19</FileServerId>
<FileType>None</FileType>
<HasFile>true</HasFile>
<Id>5</Id>
<Index>64</Index>
<IsActive>true</IsActive>
<IsCreate>true</IsCreate>
<IsExternalCode>true</IsExternalCode>
<IsExternalUrl>true</IsExternalUrl>
<Order>17</Order>
<PrefixModelItem>sample string 8</PrefixModelItem>
<Style>Default</Style>
<Token>sample string 18</Token>
</CoreGalleryItemCreateEditView>
</Items>
<PerRow xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">1</PerRow>
<ShowUploadedItems xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</ShowUploadedItems>
<Title xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 5</Title>
<Width xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">6</Width>
<d2p1:Items>
<d2p1:GalleryItemCreateEditView>
<Alt xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 13</Alt>
<Description xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 12</Description>
<ExternalCode xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 15</ExternalCode>
<ExternalCodeFormat xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 16</ExternalCodeFormat>
<FileDomain xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 10</FileDomain>
<FileExtension xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 11</FileExtension>
<FileFormatId xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">6</FileFormatId>
<FilePath xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 14</FilePath>
<FileServerId xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">19</FileServerId>
<FileType xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">None</FileType>
<HasFile xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</HasFile>
<Id xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">5</Id>
<Index xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">64</Index>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsActive>
<IsCreate xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsCreate>
<IsExternalCode xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsExternalCode>
<IsExternalUrl xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsExternalUrl>
<Order xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">17</Order>
<PrefixModelItem xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 8</PrefixModelItem>
<Style xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">Default</Style>
<Token xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 18</Token>
</d2p1:GalleryItemCreateEditView>
<d2p1:GalleryItemCreateEditView>
<Alt xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 13</Alt>
<Description xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 12</Description>
<ExternalCode xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 15</ExternalCode>
<ExternalCodeFormat xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 16</ExternalCodeFormat>
<FileDomain xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 10</FileDomain>
<FileExtension xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 11</FileExtension>
<FileFormatId xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">6</FileFormatId>
<FilePath xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 14</FilePath>
<FileServerId xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">19</FileServerId>
<FileType xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">None</FileType>
<HasFile xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</HasFile>
<Id xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">5</Id>
<Index xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">64</Index>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsActive>
<IsCreate xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsCreate>
<IsExternalCode xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsExternalCode>
<IsExternalUrl xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">true</IsExternalUrl>
<Order xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">17</Order>
<PrefixModelItem xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 8</PrefixModelItem>
<Style xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">Default</Style>
<Token xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GalleryView">sample string 18</Token>
</d2p1:GalleryItemCreateEditView>
</d2p1:Items>
</Attachment>
<Id>1</Id>
<IsCreate>true</IsCreate>
<RelatedId>4</RelatedId>
<RelatedTypeCode>sample string 3</RelatedTypeCode>
<Text>sample string 5</Text>
</CrmNoteCreateEditView>
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.