The documentations of the TechCell RESTful API
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.0
- Generator version: 7.4.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit https://techcell.cloud
- Dart 2.15.0+ or Flutter 2.8.0+
- Dio 5.0.0+ (https://pub.dev/packages/dio)
To use the package from pub.dev, please include the following in pubspec.yaml
dependencies:
dart_dio_sdk: 1.0.0
If this Dart package is published to Github, please include the following in pubspec.yaml
dependencies:
dart_dio_sdk:
git:
url: https://github.com/TechCell-Project/dart-dio-sdk.git
#ref: main
To use the package from your local drive, please include the following in pubspec.yaml
dependencies:
dart_dio_sdk:
path: /path/to/dart_dio_sdk
Please follow the installation procedure and then run the following:
import 'package:dart_dio_sdk/dart_dio_sdk.dart';
final api = DartDioSdk().getAddressApi();
final num provinceId = 201; // num | Mã tỉnh thành
try {
final response = await api.addressControllerGetDistricts(provinceId);
print(response);
} catch on DioException (e) {
print("Exception when calling AddressApi->addressControllerGetDistricts: $e\n");
}
All URIs are relative to https://api.techcell.cloud
- AddSerialNumberDto
- AddSerialNumberResponseDto
- AddSpuModelDto
- Attribute
- AttributeInProductSchema
- AttributeInProductSchemaDto
- AttributeInfinityPaginationResult
- AuthConfirmEmailDto
- AuthEmailLoginDto
- AuthFacebookLoginDto
- AuthForgotPasswordDto
- AuthGoogleLoginDto
- AuthResetPasswordDto
- AuthSignupDto
- AuthUpdateDto
- AvatarSchema
- BlockActivityLog
- BlockActivityLogDto
- BlockUserDto
- Brand
- BrandInfinityPaginationResult
- CreateAttributeDto
- CreateBrandDto
- CreateSkuDto
- CreateSpuDto
- CreateTagDto
- CreateUserDto
- DistrictLevel
- DistrictSchemaDTO
- Errors
- FilterAttributeDto
- FilterBrandsDto
- FilterSkuDto
- FilterSpuDto
- FilterTagDto
- FilterUserDto
- GhnDistrictDTO
- GhnProvinceDTO
- GhnWardDTO
- ImageSchema
- ImageSchemaDto
- ImageUploadedResponseDTO
- LoginResponseDto
- PriceSchema
- ProvinceLevel
- ProvinceSchemaDTO
- RefreshTokenDto
- RefreshTokenResponseDto
- ResendConfirmEmail
- SKU
- SPU
- SPUModelSchema
- SPUModelSchemaDto
- SkuImageSchema
- SkuInfinityPaginationResult
- SortAttributeDto
- SortSkuDto
- SortSpuDto
- SortTagDto
- SortUserDto
- SpuInfinityPaginationResult
- Tag
- TagInfinityPaginationResult
- UpdateAttributeDto
- UpdateBrandDto
- UpdateSPUModelSchemaDto
- UpdateSpuDto
- UpdateTagDto
- UpdateUserMntDto
- User
- UserAddressSchema
- UserAddressSchemaDTO
- UserBlockSchema
- UserInfinityPaginationResult
- WardLevel
- WardSchemaDTO
Authentication schemes defined for the API:
- Type: HTTP Bearer Token authentication (JWT)