createCustomAttribute function
Future<ApiResponse<CustomAttributes> >
createCustomAttribute(
- ExsitedClient client,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
POST /api/{api_version}/custom_attributes
Implementation
Future<ApiResponse<CustomAttributes>> createCustomAttribute(
ExsitedClient client,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPostRequest(CustomAttributesUrls.customAttributes,
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: CustomAttributes.fromMap);