POST api/LeadGetNoteByDealerId

Danh sách ghi chú của dealer cho 1 lead

Request Information

Requires Authorization!

Parameters

None.

Body Parameters

NoteDealerLeadActionIndex
NameDescriptionTypeAdditional information
DealerId

integer

None.

LeadActionId

integer

None.

IsLoadMore

boolean

None.

ListNote

Collection of NoteDealerLeadAction

None.

PageIndex

integer

None.

PageSize

integer

None.

LinkSite

string

None.

Count

integer

None.

PageNum

integer

None.

FriendLink

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DealerId": 1,
  "LeadActionId": 2,
  "IsLoadMore": true,
  "ListNote": [
    {
      "Id": 1,
      "DealerId": 2,
      "LeadActionId": 3,
      "Status": 4,
      "Notes": "sample string 5",
      "CreatedDate": "2024-10-05T13:34:55.5186127+07:00",
      "CreatedBy": 7
    },
    {
      "Id": 1,
      "DealerId": 2,
      "LeadActionId": 3,
      "Status": 4,
      "Notes": "sample string 5",
      "CreatedDate": "2024-10-05T13:34:55.5186127+07:00",
      "CreatedBy": 7
    }
  ],
  "PageIndex": 4,
  "PageSize": 5,
  "LinkSite": "sample string 6",
  "Count": 7,
  "PageNum": 2,
  "FriendLink": true
}

application/xml, text/xml

Sample:
<NoteDealerLeadActionIndex xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.DomainModels.LeadsPlatform">
  <_x003C_Count_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">7</_x003C_Count_x003E_k__BackingField>
  <_x003C_FriendLink_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">true</_x003C_FriendLink_x003E_k__BackingField>
  <_x003C_LinkSite_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">sample string 6</_x003C_LinkSite_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">4</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/BanXeHoi.Models.ViewModels">5</_x003C_PageSize_x003E_k__BackingField>
  <DealerId>1</DealerId>
  <IsLoadMore>true</IsLoadMore>
  <LeadActionId>2</LeadActionId>
  <ListNote>
    <NoteDealerLeadAction>
      <CreatedBy>7</CreatedBy>
      <CreatedDate>2024-10-05T13:34:55.5186127+07:00</CreatedDate>
      <DealerId>2</DealerId>
      <Id>1</Id>
      <LeadActionId>3</LeadActionId>
      <Notes>sample string 5</Notes>
      <Status>4</Status>
    </NoteDealerLeadAction>
    <NoteDealerLeadAction>
      <CreatedBy>7</CreatedBy>
      <CreatedDate>2024-10-05T13:34:55.5186127+07:00</CreatedDate>
      <DealerId>2</DealerId>
      <Id>1</Id>
      <LeadActionId>3</LeadActionId>
      <Notes>sample string 5</Notes>
      <Status>4</Status>
    </NoteDealerLeadAction>
  </ListNote>
</NoteDealerLeadActionIndex>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataReturnObj
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<DataReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <Status>1</Status>
</DataReturnObj>