POST api/Invoice/SendAccountCreditDetails

Request Information

URI Parameters

None.

Body Parameters

AccountCreditViewModel
NameDescriptionTypeAdditional information
DetailType

Its Value can be ACC or CRDT

string

None.

Customer_Code

integer

None.

To_Date

date

None.

From_Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DetailType": "sample string 1",
  "Customer_Code": 2,
  "To_Date": "2025-01-09T09:14:20.3400212+05:30",
  "From_Date": "2025-01-09T09:14:20.3400212+05:30"
}

text/html

Sample:
{"DetailType":"sample string 1","Customer_Code":2,"To_Date":"2025-01-09T09:14:20.3400212+05:30","From_Date":"2025-01-09T09:14:20.3400212+05:30"}

application/xml, text/xml

Sample:
<AccountCreditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMSService.Models">
  <Customer_Code>2</Customer_Code>
  <DetailType>sample string 1</DetailType>
  <From_Date>2025-01-09T09:14:20.3400212+05:30</From_Date>
  <To_Date>2025-01-09T09:14:20.3400212+05:30</To_Date>
</AccountCreditViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>