POST ShortTerm/CreateProRataInvoices
Request Information
URI Parameters
None.
Body Parameters
SecurityTokenVerifiedCreateProRataInvoicesRequestName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of ProRataInvoiceItem |
None. |
|
SecurityKey | string |
None. |
|
PolicyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Items": [ { "Id": 1, "InvoiceTypeId": 2 }, { "Id": 1, "InvoiceTypeId": 2 } ], "SecurityKey": "sample string 1", "PolicyId": 2 }
application/xml, text/xml
Sample:
<SecurityTokenVerifiedCreateProRataInvoicesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <PolicyId>2</PolicyId> <SecurityKey>sample string 1</SecurityKey> <Items> <ProRataInvoiceItem> <Id>1</Id> <InvoiceTypeId>2</InvoiceTypeId> </ProRataInvoiceItem> <ProRataInvoiceItem> <Id>1</Id> <InvoiceTypeId>2</InvoiceTypeId> </ProRataInvoiceItem> </Items> </SecurityTokenVerifiedCreateProRataInvoicesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfDecimalName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Entity | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "Entity": 3.0 }
application/xml, text/xml
Sample:
<ResponseOfdecimal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity>3</Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfdecimal>