getTransformer
inline suspend fun B2BiClient.getTransformer(crossinline block: GetTransformerRequest.Builder.() -> Unit): GetTransformerResponse
Retrieves the details for the transformer specified by the transformer ID. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively, a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.
Samples
fun main() {
//sampleStart
// Sample GetTransformer call
val resp = b2BiClient.getTransformer {
transformerId = "tr-974c129999f84d8c9"
}
//sampleEnd
}