This operation tells Prism to take a Fitted Body asset and produce a Body Shape Prediction asset that can then be downloaded.
NOTE: This request will return an error if a Fitted Body has not already been successfully created. This can be generated by requesting a Body Asset, a process that automatically creates a Fitted Body.
The id of the scan from which to make a prediction
"6380a5cf-cce5-41bc-b01b-4d42b5752d1f"
The type of prediction to make
"WEIGHT_LOSS"
A percentage change of a user's weight to target for the prediction
-5
A percentage change of a user's body fat percentage to target for the prediction
-10
The id of the body shape prediction
"f4c2ef4a-dc5f-4d13-a6a9-43dc03c003fd"
Describes the current state of the asset. The following states are possible:
ASSET_REQUESTED
: The asset is waiting to be processed by the pipelineASSET_REQUEST_FAILED
: The asset request to start processing in the pipeline failedASSET_PROCESSING
: The asset is being processed in the pipelineASSET_FAILED
: The asset processing failed due to an error, such as a failed upload, invalid data, system errors, etc.ASSET_SUCCEEDED
: The asset processing succeeded and is ready for use"ASSET_SUCCEEDED"
The id of the scan associated with the body shape prediction
"6380a5cf-cce5-41bc-b01b-4d42b5752d1f"
The id of the body shape prediction
"f4c2ef4a-dc5f-4d13-a6a9-43dc03c003fd"
Describes the current state of the asset. The following states are possible:
ASSET_REQUESTED
: The asset is waiting to be processed by the pipelineASSET_REQUEST_FAILED
: The asset request to start processing in the pipeline failedASSET_PROCESSING
: The asset is being processed in the pipelineASSET_FAILED
: The asset processing failed due to an error, such as a failed upload, invalid data, system errors, etc.ASSET_SUCCEEDED
: The asset processing succeeded and is ready for use"ASSET_SUCCEEDED"
The id of the scan associated with the body shape prediction
"6380a5cf-cce5-41bc-b01b-4d42b5752d1f"