POST /products/property-taxes/invocations Invoke Product Flow
InvokeSpecificProductFlow
This endpoint retrieves the Property Taxes for the given property using different partners.
Usage
You can send a request in two different ways:
- Using
request_data: If you provide this parameter, flow invocation would use the data here as input. If you also provide a transaction_id in the request body, Response Collection would be created in the related Transaction object. If you don't provide a transaction_id we will automatically create a Transaction for you and Response Collection would be created in this new Transaction as well.
- Using
transaction_id and request_collection_id: If you already have a request collection, you can provide its details using these two parameters. Note that in this case Response Collection would be created in the provided Transaction.
Note: You cannot provide product_flow_name and vendor_name parameters together. When provided together, simply product_flow_name is used.
Show the rest
request_data: If you provide this parameter, flow invocation would use the data here as input. If you also provide a transaction_id in the request body, Response Collection would be created in the related Transaction object. If you don't provide a transaction_id we will automatically create a Transaction for you and Response Collection would be created in this new Transaction as well.transaction_id and request_collection_id: If you already have a request collection, you can provide its details using these two parameters. Note that in this case Response Collection would be created in the provided Transaction.product_flow_name and vendor_name parameters together. When provided together, simply product_flow_name is used.Retrieving the Invocation Result
After invocation, endpoint returns an invocation_id which you can poll for its status using /products/property-taxes/invocations/{invocation_id} endpoint. Once the invocation is completed, the Response Collection is populated with these search results.
If you would rather receive a callback once the invocation is completed instead of polling it, you can set callback_url parameter in the request body.
Request
{
"vendor_name": "ernst",
"transaction_id": "01F6NAMXWN2XVBD1YJ92A6S6R4",
"request_collection_id": "01F6QF1QJF20DMSXH4SYXKB1SN"
} {
"vendor_name": "ernst",
"request_data": {
"addresses": [
{
"@id": "01FMM41S2R86Q33TC28H9RC197",
"@type": "residential_address",
"has_county_name": {
"has_value": "Kent"
},
"has_state_code": {
"has_value": "TX"
},
"has_city_name": {
"has_value": "Houston"
},
"has_postal_code": {
"has_value": "77069"
},
"has_address_line_1_text": {
"has_value": "5118 Westerham Pl"
}
}
],
"properties": [
{
"@id": "01FMM41S2RE99T8XGQJC2MTE8E",
"@type": "property",
"with_value": [
"01FMM41S2RM5X2RWJJG2NFH91Z"
],
"with_address": [
"01FMM41S2R86Q33TC28H9RC197"
]
}
],
"property_valuations": [
{
"@id": "01FMM41S2RM5X2RWJJG2NFH91Z",
"@type": "property_valuation",
"has_property_valuation_amount": {
"has_value": 374900
}
}
]
}
} Response
Successfully started flow invocation.
{
"product_flow_name": "ErnstPropertyTaxes",
"metadata": {},
"request_collection_id": "01FFHJ4JCWGHV38SC1NJ8TVNFY",
"invocation_id": "08f0f7bd-0158-4ab8-845c-f94eafa3859c",
"invocation_status": "STARTED",
"transaction_id": "01FFHJ2ZVS4P7N4AV5W0993QMD"
} Request data failed validation
{
"message": "{'data': ['Missing data for required field.']}"
} 403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
} Resource not found
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400
Bad Request</h1></center>\r\n</body>\r\n</html>\r\n Internal server error
{
"message": "The product has encountered an internal server error. If you\nhave used a transaction_id to call our services, please submit it to\nStaircase support"
} Parameters
1
| Parameter | Type | Description |
|---|---|---|
x-api-key required | string header | Environment API Key. |
Request bodyapplication/json
6 fields
application/json| Field | Type | Description |
|---|---|---|
vendor_namerequired | string | Vendor name. If not specified default vendor will be used.ernst |
transaction_idrequired | string | Transaction ID used for invocation. |
request_collection_idrequired | string | Request Collection ID. |
response_collection_id | string | Response Collection ID. The response will be saved into this collection if response_collection_id is provided. If not provided, a new collection will be created for response. |
callback_url | string (uri) | Callback URL. |
request_data | object | Request Data. If request_collection_id is not provided and request_data is provided, request data will be saved into a new collection and that collection will be used for invocation. |
addressesrequired | object[] | — |
@typerequired | string | — |
@idrequired | string | — |
has_county_namerequired | object | — |
has_valuerequired | string | — |
has_state_coderequired | object | — |
has_valuerequired | string | — |
has_city_namerequired | object | — |
has_valuerequired | string | — |
has_postal_code | object | — |
has_valuerequired | string | — |
has_address_line_1_text | object | — |
has_valuerequired | string | — |
propertiesrequired | object[] | — |
@typerequired | string | — |
@idrequired | string | — |
with_valuerequired | string[] | — |
with_addressrequired | string[] | — |
property_valuationsrequired | object[] | — |
@typerequired | string | — |
@idrequired | string | — |
has_property_valuation_amountrequired | object | — |
has_valuerequired | number | — |
Response 201application/json
7 fields
201application/jsonSuccessfully started flow invocation.
| Field | Type | Description |
|---|---|---|
invocation_id | string | Invocation ID. |
invocation_status | string | The status of the invocation.STARTED |
transaction_id | string | Transaction ID. |
product_flow_name | string | Product flow name.ErnstPropertyTaxes |
metadata | object | The metadata of the invoked product flow. |
callback_url | string | Callback URL. |
request_data | object | The data for the request collection. |
Response 400application/json
1 fields
400application/jsonRequest data failed validation
| Field | Type | Description |
|---|---|---|
message | string | Message |
Response 403application/json
2 fields
403application/json403 invalid error
| Field | Type | Description |
|---|---|---|
message | string | Error message. |
url | string | Error additional URL. |
Response 404application/json
1 fields
404application/jsonResource not found
| Field | Type | Description |
|---|---|---|
message | string | Message |
Response 500application/json
1 fields
500application/jsonInternal server error
| Field | Type | Description |
|---|---|---|
message | string | Error message. |