Create rate
POST/rates
JSON-RPC
rates.create
Code formatting
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 for44301
and44303
);44301-44303
- range of codes (will be created as rates for44301
,44302
and44303
);443(0-2)1
- internal range of codes (will be created as rates for44301
,44311
and44321
).
Any of the definitions can be combined.
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