Create rate
POST/rates
rates.create
Code fields (both code and src_code) support the following syntax:
_ 44 - single code (will be created as is);
_ 44301,44303 - multiple codes separated by comma (will be created
as rates for 44301 and 44303);
_ 44301-44303 - range of codes (will be created as rates for
44301, 44302 and 44303);
_ 443(0-2)1 - internal range of codes (will be created as rates for
44301, 44311 and 44321).
Any of the definitions can be combined.
Only one of the following fields can be used at a time: _ Src code _ Src code name * Origin name
To use origin name, the associated rate table must have an origin deck defined.
Deprecation notice: Rate definitions based on source codes will be phased out in favor of origin names, which offer a more structured and flexible approach to origin-based rating.
Request
Responses
- 200
- 400
- 401
- 404
- 422
- 500
List of rate objects as have been stored. List is returned instead of the single object, since multiple rate object may be created, if code name has been given instead of a single code.
The request contains invalid arguments or is malformed
Access is not authorized
Requested object was not found
A logical error occurred, making the request unprocessable
An unexpected error occurred