POST api/crm/sale/lead/ticket/create

Request Information

URI Parameters

None.

Body Parameters

CrmSaleLeadTicketCreateEditView
NameDescriptionTypeAdditional information
CrmSaleLeadId

integer

None.

Id

integer

None.

IsCreate

boolean

None.

Subject

string

None.

Message

string

None.

ResponsibleUserId

integer

None.

ResponsibleUserMobile

string

None.

UserMobile

string

None.

Card

CrmCardCreateEditView

None.

StatusId

integer

None.

AddUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CrmSaleLeadId": 1,
  "Id": 2,
  "IsCreate": true,
  "Subject": "sample string 4",
  "Message": "sample string 5",
  "ResponsibleUserId": 1,
  "ResponsibleUserMobile": "sample string 6",
  "UserMobile": "sample string 7",
  "Card": {
    "Id": 1,
    "IsCreate": true,
    "BoardGroupId": 1,
    "Title": "sample string 3",
    "Periority": 0,
    "ColumnId": 4,
    "PeopleActualId": 1,
    "PeopleLegalId": 1,
    "Description": "sample string 5",
    "ResponsibleUserId": 1,
    "CrrentUserName": "sample string 6",
    "CustomFieldDatas": [
      {
        "Field": {
          "FieldId": 1,
          "FieldDataTypeId": 2,
          "DataType": 0,
          "Title": "sample string 3",
          "Value": {},
          "Items": [
            {
              "Disabled": true,
              "Group": {
                "Disabled": true,
                "Name": "sample string 2"
              },
              "Selected": true,
              "Text": "sample string 3",
              "Value": "sample string 4"
            },
            {
              "Disabled": true,
              "Group": {
                "Disabled": true,
                "Name": "sample string 2"
              },
              "Selected": true,
              "Text": "sample string 3",
              "Value": "sample string 4"
            }
          ],
          "IsUnique": true,
          "IsRequired": true,
          "GridSize": 64,
          "CustomFieldDataId": 1,
          "IsPrimaryKey": true,
          "RelatedType": {
            "Id": 1,
            "Code": "sample string 2",
            "ParentCode": "sample string 3",
            "Icon": "sample string 4",
            "NameSingular": "sample string 5",
            "NamePlural": "sample string 6",
            "Route": "sample string 7",
            "HasBoard": true,
            "HasPeople": true,
            "HasPeopleMultiple": true,
            "HasCard": true
          },
          "SelectUrl": "sample string 9",
          "SelectIsSearchable": true,
          "DisplayableValue": "sample string 11"
        },
        "Group": {
          "Id": 1,
          "Title": "sample string 2"
        },
        "IsLabelMuted": true
      },
      {
        "Field": {
          "FieldId": 1,
          "FieldDataTypeId": 2,
          "DataType": 0,
          "Title": "sample string 3",
          "Value": {},
          "Items": [
            {
              "Disabled": true,
              "Group": {
                "Disabled": true,
                "Name": "sample string 2"
              },
              "Selected": true,
              "Text": "sample string 3",
              "Value": "sample string 4"
            },
            {
              "Disabled": true,
              "Group": {
                "Disabled": true,
                "Name": "sample string 2"
              },
              "Selected": true,
              "Text": "sample string 3",
              "Value": "sample string 4"
            }
          ],
          "IsUnique": true,
          "IsRequired": true,
          "GridSize": 64,
          "CustomFieldDataId": 1,
          "IsPrimaryKey": true,
          "RelatedType": {
            "Id": 1,
            "Code": "sample string 2",
            "ParentCode": "sample string 3",
            "Icon": "sample string 4",
            "NameSingular": "sample string 5",
            "NamePlural": "sample string 6",
            "Route": "sample string 7",
            "HasBoard": true,
            "HasPeople": true,
            "HasPeopleMultiple": true,
            "HasCard": true
          },
          "SelectUrl": "sample string 9",
          "SelectIsSearchable": true,
          "DisplayableValue": "sample string 11"
        },
        "Group": {
          "Id": 1,
          "Title": "sample string 2"
        },
        "IsLabelMuted": true
      }
    ],
    "UserVisibilities": [
      {
        "Code": 1,
        "Description": "sample string 2",
        "Icon": "sample string 3",
        "Disabled": true,
        "Group": {
          "Disabled": true,
          "Name": "sample string 2"
        },
        "Selected": true,
        "Text": "sample string 6",
        "Value": "sample string 7"
      },
      {
        "Code": 1,
        "Description": "sample string 2",
        "Icon": "sample string 3",
        "Disabled": true,
        "Group": {
          "Disabled": true,
          "Name": "sample string 2"
        },
        "Selected": true,
        "Text": "sample string 6",
        "Value": "sample string 7"
      }
    ],
    "TicketId": 1
  },
  "StatusId": 8,
  "AddUrl": "sample string 9"
}

application/xml, text/xml

Sample:
<CrmSaleLeadTicketCreateEditView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.CrmSaleLeadView">
  <AddUrl xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">sample string 9</AddUrl>
  <Card xmlns:d2p1="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.CrmCardView" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">
    <UserVisibilities xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.UserVisibilityView">
      <UserVisibilitySelectListItemView>
        <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 6</Text>
        <Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 7</Value>
        <Code>1</Code>
        <Description>sample string 2</Description>
        <Icon>sample string 3</Icon>
      </UserVisibilitySelectListItemView>
      <UserVisibilitySelectListItemView>
        <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 6</Text>
        <Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 7</Value>
        <Code>1</Code>
        <Description>sample string 2</Description>
        <Icon>sample string 3</Icon>
      </UserVisibilitySelectListItemView>
    </UserVisibilities>
    <d2p1:BoardGroupId>1</d2p1:BoardGroupId>
    <d2p1:ColumnId>4</d2p1:ColumnId>
    <d2p1:CrrentUserName>sample string 6</d2p1:CrrentUserName>
    <d2p1:CustomFieldDatas xmlns:d3p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.CustomFieldView">
      <d3p1:CoreCustomFieldDataCreateEditView>
        <d3p1:Field xmlns:d5p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GeneralView">
          <d5p1:CustomFieldDataId>1</d5p1:CustomFieldDataId>
          <d5p1:DataType>None</d5p1:DataType>
          <d5p1:DisplayableValue>sample string 11</d5p1:DisplayableValue>
          <d5p1:FieldDataTypeId>2</d5p1:FieldDataTypeId>
          <d5p1:FieldId>1</d5p1:FieldId>
          <d5p1:GridSize>64</d5p1:GridSize>
          <d5p1:IsPrimaryKey>true</d5p1:IsPrimaryKey>
          <d5p1:IsRequired>true</d5p1:IsRequired>
          <d5p1:IsUnique>true</d5p1:IsUnique>
          <d5p1:Items>
            <d5p1:FieldInputSelectListItemView>
              <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 3</Text>
              <Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 4</Value>
            </d5p1:FieldInputSelectListItemView>
            <d5p1:FieldInputSelectListItemView>
              <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 3</Text>
              <Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 4</Value>
            </d5p1:FieldInputSelectListItemView>
          </d5p1:Items>
          <d5p1:RelatedType xmlns:d6p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.RelatedTypeView">
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:HasBoard>true</d6p1:HasBoard>
            <d6p1:HasCard>true</d6p1:HasCard>
            <d6p1:HasPeople>true</d6p1:HasPeople>
            <d6p1:HasPeopleMultiple>true</d6p1:HasPeopleMultiple>
            <d6p1:Icon>sample string 4</d6p1:Icon>
            <d6p1:Id>1</d6p1:Id>
            <d6p1:NamePlural>sample string 6</d6p1:NamePlural>
            <d6p1:NameSingular>sample string 5</d6p1:NameSingular>
            <d6p1:ParentCode>sample string 3</d6p1:ParentCode>
            <d6p1:Route>sample string 7</d6p1:Route>
          </d5p1:RelatedType>
          <d5p1:SelectIsSearchable>true</d5p1:SelectIsSearchable>
          <d5p1:SelectUrl>sample string 9</d5p1:SelectUrl>
          <d5p1:Title>sample string 3</d5p1:Title>
          <d5p1:Value />
        </d3p1:Field>
        <d3p1:Group>
          <d3p1:Id>1</d3p1:Id>
          <d3p1:Title>sample string 2</d3p1:Title>
        </d3p1:Group>
        <d3p1:IsLabelMuted>true</d3p1:IsLabelMuted>
      </d3p1:CoreCustomFieldDataCreateEditView>
      <d3p1:CoreCustomFieldDataCreateEditView>
        <d3p1:Field xmlns:d5p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GeneralView">
          <d5p1:CustomFieldDataId>1</d5p1:CustomFieldDataId>
          <d5p1:DataType>None</d5p1:DataType>
          <d5p1:DisplayableValue>sample string 11</d5p1:DisplayableValue>
          <d5p1:FieldDataTypeId>2</d5p1:FieldDataTypeId>
          <d5p1:FieldId>1</d5p1:FieldId>
          <d5p1:GridSize>64</d5p1:GridSize>
          <d5p1:IsPrimaryKey>true</d5p1:IsPrimaryKey>
          <d5p1:IsRequired>true</d5p1:IsRequired>
          <d5p1:IsUnique>true</d5p1:IsUnique>
          <d5p1:Items>
            <d5p1:FieldInputSelectListItemView>
              <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 3</Text>
              <Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 4</Value>
            </d5p1:FieldInputSelectListItemView>
            <d5p1:FieldInputSelectListItemView>
              <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 3</Text>
              <Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 4</Value>
            </d5p1:FieldInputSelectListItemView>
          </d5p1:Items>
          <d5p1:RelatedType xmlns:d6p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.RelatedTypeView">
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:HasBoard>true</d6p1:HasBoard>
            <d6p1:HasCard>true</d6p1:HasCard>
            <d6p1:HasPeople>true</d6p1:HasPeople>
            <d6p1:HasPeopleMultiple>true</d6p1:HasPeopleMultiple>
            <d6p1:Icon>sample string 4</d6p1:Icon>
            <d6p1:Id>1</d6p1:Id>
            <d6p1:NamePlural>sample string 6</d6p1:NamePlural>
            <d6p1:NameSingular>sample string 5</d6p1:NameSingular>
            <d6p1:ParentCode>sample string 3</d6p1:ParentCode>
            <d6p1:Route>sample string 7</d6p1:Route>
          </d5p1:RelatedType>
          <d5p1:SelectIsSearchable>true</d5p1:SelectIsSearchable>
          <d5p1:SelectUrl>sample string 9</d5p1:SelectUrl>
          <d5p1:Title>sample string 3</d5p1:Title>
          <d5p1:Value />
        </d3p1:Field>
        <d3p1:Group>
          <d3p1:Id>1</d3p1:Id>
          <d3p1:Title>sample string 2</d3p1:Title>
        </d3p1:Group>
        <d3p1:IsLabelMuted>true</d3p1:IsLabelMuted>
      </d3p1:CoreCustomFieldDataCreateEditView>
    </d2p1:CustomFieldDatas>
    <d2p1:Description>sample string 5</d2p1:Description>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsCreate>true</d2p1:IsCreate>
    <d2p1:PeopleActualId>1</d2p1:PeopleActualId>
    <d2p1:PeopleLegalId>1</d2p1:PeopleLegalId>
    <d2p1:Periority>None</d2p1:Periority>
    <d2p1:ResponsibleUserId>1</d2p1:ResponsibleUserId>
    <d2p1:TicketId>1</d2p1:TicketId>
    <d2p1:Title>sample string 3</d2p1:Title>
  </Card>
  <Id xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">2</Id>
  <IsCreate xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">true</IsCreate>
  <Message xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">sample string 5</Message>
  <ResponsibleUserId xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">1</ResponsibleUserId>
  <ResponsibleUserMobile xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">sample string 6</ResponsibleUserMobile>
  <StatusId xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">8</StatusId>
  <Subject xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">sample string 4</Subject>
  <UserMobile xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.TicketView">sample string 7</UserMobile>
  <CrmSaleLeadId>1</CrmSaleLeadId>
</CrmSaleLeadTicketCreateEditView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.