POST AccountReceivableReport/EmailStatement

Request Information

URI Parameters

None.

Body Parameters

IConnect.Domain.Reports.SalesReport.AccountReceivableReport.ReportViewModel
NameDescriptionTypeAdditional information
SelectedCompanies

Collection of integer

None.

TicketId

integer

None.

CustomerId

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

SelectedTickets

Collection of integer

None.

SelectedCustomerTypes

Collection of string

None.

CustomerTypes

Collection of IConnect.Domain.Customers.ViewModels.CustomerTypeViewModel

None.

Start

date

None.

End

date

None.

StartDateObjectString

string

None.

EndDateObjectString

string

None.

SkipTimeZoneConvertion

boolean

None.

ForceImmediateExport

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SelectedCompanies": [
    1,
    2
  ],
  "TicketId": 1,
  "CustomerId": 1,
  "PageIndex": 1,
  "PageSize": 1,
  "SelectedTickets": [
    1,
    2
  ],
  "SelectedCustomerTypes": [
    "sample string 1",
    "sample string 2"
  ],
  "CustomerTypes": [
    {
      "isDefaultType": true,
      "isDefaultTeeSheetType": true,
      "defaultPayLaterState": true,
      "isDeleted": true,
      "locations": [
        1,
        2
      ],
      "id": 5,
      "name": "sample string 6"
    },
    {
      "isDefaultType": true,
      "isDefaultTeeSheetType": true,
      "defaultPayLaterState": true,
      "isDeleted": true,
      "locations": [
        1,
        2
      ],
      "id": 5,
      "name": "sample string 6"
    }
  ],
  "Start": "2024-10-18T04:39:59.4959166-04:00",
  "End": "2024-10-18T04:39:59.4959166-04:00",
  "StartDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":39,\"seconds\":59,\"miliseconds\":495}",
  "EndDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":39,\"seconds\":59,\"miliseconds\":495}",
  "SkipTimeZoneConvertion": true,
  "ForceImmediateExport": true
}

application/xml, text/xml

Sample:
<ReportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.SalesReport.AccountReceivableReport">
  <_x003C_End_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">2024-10-18T04:39:59.4959166-04:00</_x003C_End_x003E_k__BackingField>
  <_x003C_ForceImmediateExport_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">true</_x003C_ForceImmediateExport_x003E_k__BackingField>
  <_x003C_SkipTimeZoneConvertion_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">true</_x003C_SkipTimeZoneConvertion_x003E_k__BackingField>
  <_x003C_Start_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">2024-10-18T04:39:59.4959166-04:00</_x003C_Start_x003E_k__BackingField>
  <_x003C_CustomerId_x003E_k__BackingField>1</_x003C_CustomerId_x003E_k__BackingField>
  <_x003C_CustomerTypes_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Customers.ViewModels">
    <d2p1:CustomerTypeViewModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core">5</Id>
      <Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core">sample string 6</Name>
      <d2p1:DefaultPayLaterState>true</d2p1:DefaultPayLaterState>
      <d2p1:IsDefaultTeeSheetType>true</d2p1:IsDefaultTeeSheetType>
      <d2p1:IsDefaultType>true</d2p1:IsDefaultType>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:Locations xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:Locations>
    </d2p1:CustomerTypeViewModel>
    <d2p1:CustomerTypeViewModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core">5</Id>
      <Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core">sample string 6</Name>
      <d2p1:DefaultPayLaterState>true</d2p1:DefaultPayLaterState>
      <d2p1:IsDefaultTeeSheetType>true</d2p1:IsDefaultTeeSheetType>
      <d2p1:IsDefaultType>true</d2p1:IsDefaultType>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:Locations xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:Locations>
    </d2p1:CustomerTypeViewModel>
  </_x003C_CustomerTypes_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>1</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>1</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_SelectedCompanies_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_SelectedCompanies_x003E_k__BackingField>
  <_x003C_SelectedCustomerTypes_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </_x003C_SelectedCustomerTypes_x003E_k__BackingField>
  <_x003C_SelectedTickets_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_SelectedTickets_x003E_k__BackingField>
  <_x003C_TicketId_x003E_k__BackingField>1</_x003C_TicketId_x003E_k__BackingField>
</ReportViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />