POST v1/BillingPeriodPaymentSchedules
Documentation for 'Post'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
entity | Documentation for 'entity'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
Click to beautify!
{ "billingPeriodDefinitionId": 1, "paymentSchedules": [ { "amount": 1.0, "daysDueAfterTerm": 2 }, { "amount": 1.0, "daysDueAfterTerm": 2 }, { "amount": 1.0, "daysDueAfterTerm": 2 } ] }
application/xml, text/xml
Sample:
Click to beautify!
<BillingPeriodPaymentSchedules xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post"> <BillingPeriodDefinitionId>1</BillingPeriodDefinitionId> <PaymentSchedules> <BillingPeriodPaymentSchedule> <Amount>1</Amount> <DaysDueAfterTerm>2</DaysDueAfterTerm> </BillingPeriodPaymentSchedule> <BillingPeriodPaymentSchedule> <Amount>1</Amount> <DaysDueAfterTerm>2</DaysDueAfterTerm> </BillingPeriodPaymentSchedule> <BillingPeriodPaymentSchedule> <Amount>1</Amount> <DaysDueAfterTerm>2</DaysDueAfterTerm> </BillingPeriodPaymentSchedule> </PaymentSchedules> </BillingPeriodPaymentSchedules>
application/x-www-form-urlencoded
Sample:
Click to beautify!
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
Click to beautify!
[ { "amount": 1.0, "daysDueAfterTerm": 2 }, { "amount": 1.0, "daysDueAfterTerm": 2 }, { "amount": 1.0, "daysDueAfterTerm": 2 } ]
application/xml, text/xml
Sample:
Click to beautify!
<ArrayOfBillingPeriodPaymentSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Get"> <BillingPeriodPaymentSchedule> <Amount>1</Amount> <DaysDueAfterTerm>2</DaysDueAfterTerm> </BillingPeriodPaymentSchedule> <BillingPeriodPaymentSchedule> <Amount>1</Amount> <DaysDueAfterTerm>2</DaysDueAfterTerm> </BillingPeriodPaymentSchedule> <BillingPeriodPaymentSchedule> <Amount>1</Amount> <DaysDueAfterTerm>2</DaysDueAfterTerm> </BillingPeriodPaymentSchedule> </ArrayOfBillingPeriodPaymentSchedule>