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:
{
  "Code": "sample string 1",
  "Title": "sample string 2",
  "TypeId": 3,
  "CustomerId": 4,
  "PaymentTypeId": 5,
  "SalesRepId": 6,
  "SourceId": 7,
  "StatusId": 8,
  "Direction": "sample string 9",
  "EmpId": 10,
  "ContactId": 1,
  "Date": "2020-06-06T03:07:53.9225931+02:00",
  "Comment": "sample string 12",
  "ExpectedContractValue": 13.0,
  "Docs": [
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    },
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    },
    {
      "FileName": "sample string 1",
      "Bytes": "QEBA"
    }
  ],
  "ServerIP": "sample string 14"
}

application/xml, text/xml

Sample:
<VM_PotentialRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPAccessModel">
  <Code>sample string 1</Code>
  <Comment>sample string 12</Comment>
  <ContactId>1</ContactId>
  <CustomerId>4</CustomerId>
  <Date>2020-06-06T03:07:53.9225931+02:00</Date>
  <Direction>sample string 9</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>10</EmpId>
  <ExpectedContractValue>13</ExpectedContractValue>
  <PaymentTypeId>5</PaymentTypeId>
  <SalesRepId>6</SalesRepId>
  <ServerIP>sample string 14</ServerIP>
  <SourceId>7</SourceId>
  <StatusId>8</StatusId>
  <Title>sample string 2</Title>
  <TypeId>3</TypeId>
</VM_PotentialRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

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

application/xml, text/xml

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