apidocs / com.srv4pos.server.api.precept / PreceptService / create

create

fun create(country: String, corporateId: String, preceptInfo: PreceptInfo): String?

Sends precept.

Parameters

country - where seller is located

corporateId - of the seller

preceptInfo - information about precept

Exceptions

com.srv4pos.server.api.exceptions.NotFoundJsonException - if seller is not found

com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException - if product for given product identifier is not found

com.srv4pos.server.api.exceptions.NonUniqueJsonException - if identifier is not unique within a seller

Return
generated unique identifier