batchGetField method
Returns the description for the list of fields in the request parameters.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter domainId :
The unique identifier of the Cases domain.
Parameter fields :
A list of unique field identifiers.
Implementation
Future<BatchGetFieldResponse> batchGetField({
required String domainId,
required List<FieldIdentifier> fields,
}) async {
final $payload = <String, dynamic>{
'fields': fields,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/domains/${Uri.encodeComponent(domainId)}/fields-batch',
exceptionFnMap: _exceptionFns,
);
return BatchGetFieldResponse.fromJson(response);
}