POST api/costcalculation/tenantvals
Request Information
URI Parameters
None.
Body Parameters
CostCalc| Name | Description | Type | Additional information |
|---|---|---|---|
| i | globally unique identifier |
Required |
|
| u | string |
Max length: 2083 |
|
| t | Collection of mCostTenant |
Required |
Request Formats
application/json, text/json
Sample:
{
"i": "e01d2d65-5abb-4ee5-8f89-b430d5d4ba75",
"u": "sample string 2",
"t": [
{
"p": [
{
"s": 0,
"a": 1.0
},
{
"s": 0,
"a": 1.0
}
],
"m": 1.0,
"n": "sample string 1",
"s": "2025-11-03T16:28:12.738144+01:00",
"z": "sample string 2",
"h": "sample string 3",
"e": "2025-11-03T16:28:12.738144+01:00",
"k": "sample string 4"
},
{
"p": [
{
"s": 0,
"a": 1.0
},
{
"s": 0,
"a": 1.0
}
],
"m": 1.0,
"n": "sample string 1",
"s": "2025-11-03T16:28:12.738144+01:00",
"z": "sample string 2",
"h": "sample string 3",
"e": "2025-11-03T16:28:12.738144+01:00",
"k": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<CostCalc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ista.web.api.models">
<ApiKey>e01d2d65-5abb-4ee5-8f89-b430d5d4ba75</ApiKey>
<ResponseUri>sample string 2</ResponseUri>
<Tenants>
<mCostTenant>
<debtorkey>sample string 4</debtorkey>
<enddate>2025-11-03T16:28:12.738144+01:00</enddate>
<homenumber>sample string 3</homenumber>
<zipcode>sample string 2</zipcode>
<Prepaids>
<mPrepaid>
<Amount>1</Amount>
<Service>ALL</Service>
</mPrepaid>
<mPrepaid>
<Amount>1</Amount>
<Service>ALL</Service>
</mPrepaid>
</Prepaids>
<miscellaneous>1</miscellaneous>
<newtenantname>sample string 1</newtenantname>
<startdate>2025-11-03T16:28:12.738144+01:00</startdate>
</mCostTenant>
<mCostTenant>
<debtorkey>sample string 4</debtorkey>
<enddate>2025-11-03T16:28:12.738144+01:00</enddate>
<homenumber>sample string 3</homenumber>
<zipcode>sample string 2</zipcode>
<Prepaids>
<mPrepaid>
<Amount>1</Amount>
<Service>ALL</Service>
</mPrepaid>
<mPrepaid>
<Amount>1</Amount>
<Service>ALL</Service>
</mPrepaid>
</Prepaids>
<miscellaneous>1</miscellaneous>
<newtenantname>sample string 1</newtenantname>
<startdate>2025-11-03T16:28:12.738144+01:00</startdate>
</mCostTenant>
</Tenants>
</CostCalc>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CostResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ex | Collection of oErr |
None. |
Response Formats
application/json, text/json
Sample:
{
"ex": [
{
"n": 1,
"t": "sample string 2"
},
{
"n": 1,
"t": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<CostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ista.web.api.models">
<ex>
<oErr>
<errNmbr>1</errNmbr>
<errText>sample string 2</errText>
</oErr>
<oErr>
<errNmbr>1</errNmbr>
<errText>sample string 2</errText>
</oErr>
</ex>
</CostResponse>