All URIs are relative to https://localhost:8080/RestAPI
| Method | HTTP request | Description |
|---|---|---|
| create_fixed_term_definition | POST /fixed-term-definitions | Create |
| update_fixed_term_definition | PUT /fixed-term-definitions | Update |
FixedTermDefinitionPagedMetadata create_fixed_term_definition(fixed_term_definiton)
Create
{"nickname":"Create a new fixed term definition","request":"createFixedTermDefinitionRequest.html","response":"createFixedTermDefinitionResponse.html"}
import time
import billforward
from billforward.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = billforward.FixedtermdefinitionsApi()
fixed_term_definiton = billforward.MutableBillingEntity() # MutableBillingEntity | The fixed-term-definition object to be updated.
try:
# Create
api_response = api_instance.create_fixed_term_definition(fixed_term_definiton)
pprint(api_response)
except ApiException as e:
print "Exception when calling FixedtermdefinitionsApi->create_fixed_term_definition: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| fixed_term_definiton | MutableBillingEntity | The fixed-term-definition object to be updated. |
FixedTermDefinitionPagedMetadata
No authorization required
- Content-Type: application/json
- Accept: text/xml, application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FixedTermDefinitionPagedMetadata update_fixed_term_definition(fixed_term_definiton)
Update
{"nickname":"Update a fixed-term definition","request":"updateFixedTermDefinitionRequest.html","response":"updateFixedTermDefinitionResponse.html"}
import time
import billforward
from billforward.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = billforward.FixedtermdefinitionsApi()
fixed_term_definiton = billforward.MutableBillingEntity() # MutableBillingEntity | The fixed-term-definition object to be updated.
try:
# Update
api_response = api_instance.update_fixed_term_definition(fixed_term_definiton)
pprint(api_response)
except ApiException as e:
print "Exception when calling FixedtermdefinitionsApi->update_fixed_term_definition: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| fixed_term_definiton | MutableBillingEntity | The fixed-term-definition object to be updated. |
FixedTermDefinitionPagedMetadata
No authorization required
- Content-Type: application/json
- Accept: text/xml, application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]