POST api/CRM/SaveLeedRequest

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Title": "sample string 3",
  "TypeId": 4,
  "CustomerId": 5,
  "PaymentTypeId": 6,
  "SalesRepId": 7,
  "SourceId": 8,
  "StatusId": 9,
  "Direction": "sample string 10",
  "EmpId": 11,
  "ContactId": 1,
  "Date": "2021-10-20T19:32:48.3041885+02:00",
  "Comment": "sample string 13",
  "ExpectedContractValue": 14.0,
  "Docs": [
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    },
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    },
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    }
  ],
  "ServerIP": "sample string 15",
  "InCT": "sample string 16"
}

application/xml, text/xml

Sample:
<VM_PotentialRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel">
  <Code>sample string 2</Code>
  <Comment>sample string 13</Comment>
  <ContactId>1</ContactId>
  <CustomerId>5</CustomerId>
  <Date>2021-10-20T19:32:48.3041885+02:00</Date>
  <Direction>sample string 10</Direction>
  <Docs>
    <VM_Docs>
      <Bytes>QEBA</Bytes>
      <FileName>sample string 1</FileName>
    </VM_Docs>
    <VM_Docs>
      <Bytes>QEBA</Bytes>
      <FileName>sample string 1</FileName>
    </VM_Docs>
    <VM_Docs>
      <Bytes>QEBA</Bytes>
      <FileName>sample string 1</FileName>
    </VM_Docs>
  </Docs>
  <EmpId>11</EmpId>
  <ExpectedContractValue>14</ExpectedContractValue>
  <Id>1</Id>
  <InCT>sample string 16</InCT>
  <PaymentTypeId>6</PaymentTypeId>
  <SalesRepId>7</SalesRepId>
  <ServerIP>sample string 15</ServerIP>
  <SourceId>8</SourceId>
  <StatusId>9</StatusId>
  <Title>sample string 3</Title>
  <TypeId>4</TypeId>
</VM_PotentialRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VM_PotentialRequest'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>