sendmock_seed_apply
Apply a seed file; 422 with the errors when it is invalid.
Toolset admin.
| Input | Type | Description |
|---|---|---|
| seed_tomlrequired | string | The seed file's text ( sendmock.seed.toml).Example: [[numbers]]
number = "+15550001111"
label = "Support line" |
Example call
{
"name": "sendmock_seed_apply",
"arguments": {
"seed_toml": "[[numbers]]\nnumber = \"+15550001111\"\nlabel = \"Support line\""
}
}Result: SeedValidation
- API
- POST
/api/v1/seed/apply - CLI
sendmock seed apply <file>- In the app
- Settings > Seed > Apply a seed file