Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(result)
Panel
titleAPI thêm mới/ cập nhật NCC

Method

GET

URL

application/organization/update

Description

API thêm mới/ cập nhật NCC

Note

API cũ, sửa lại

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values

1authorization<token>Token của người dùng đăng nhậpBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjY0NTU3ODksInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.wrvIFd-Q2kHgkTmPf6ryMY6aDIgXpNsWmSvvifQWc5k

2.

Request

 Request body

STT

Field

Data Type / Length

Description

Note

Sample Values

1codeInteger0: thành công còn lại thất bại2messageStringmessage3resultObjectkết quả trả ra4(result) idIntegerid NCC5(result) contactOrgStringNgười liên tục6(result) capacityProfileStringhồ sơ năng lực7(result) typeIntegerLoại8(result) nameStringtên NCC9(result) taxCodeStringmã số thuế11(result) evaluationGradeStringXếp hạng đánh giá12(result) cityIdIntegerthành phố13(result) districtIdIntegerhuyện14(result) subdistrictIdInteger15(result) addressStringđịa chỉ16(result) legalRepresentativeStringđại diện pháp lý17(result) businessIdIntegerid ngành nghề chính18(result) activeIntegertrạng thái19(result) cityNameStringhuyện20(result) districtNameStringthành phố21(result) subdistrictNameString22(result) businessNameStringtên ngành nghề chính23(result) fieldNameStringtên lĩnh vực chính24(result) evaluationGradeStringxếp hạng25(result) evaluationScoreStringđiểm đánh giá26(result) supplierRatingRecommendedStringđề xuất27(result) completionDateStringngày hoàn thành28

STT

Field

Require

Data Type / Length

Description

Note

Sample Values

1idtruefalseIntegerid NCC

3. Response / Incoming Data Specification



30
2contactOr
StringNgười liên tục

3capacityProfile
Stringhồ sơ năng lực

4type
IntegerLoại

5name
Stringtên NCC

6taxCode
Stringmã số thuế

7evaluationGrade
StringXếp hạng đánh giá

8cityId
Integerthành phố

9districtId
Integerhuyện

10subdistrictId
Integer

11address
Stringđịa chỉ

12legalRepresentative
Stringđại diện pháp lý

13businessId
Integerid ngành nghề chính

14active
Integertrạng thái

15fieldName
Integerid lĩnh vực chính

16fields
List<Object>Danh sách Lĩnh vực phụ
29(fields) idIntegerid


17(fields) organizationId
Integerid NCC
3133(result)


18(fields) fieldId
Integerid lĩnh vực
32(fields) fieldNameStringtên lĩnh vực


19businesses
List<Object>Danh sách Ngành nghề phụ
34


20(businesses)
idIntegerid35(businesses)
organizationId
Integerid NCC
36


21(businesses) businessId
Integerid
ngành nghề phụ37(businesses) businessNameStringtên
ngành nghề phụ
3840


22(result) bankAccounts
List<Object>Danh sách tài khoản ngân hàng
39(bankAccounts) idIntegerid


23(bankAccounts) organizationId
Integerid NCC
41


24(bankAccounts) bankName
Stringtên ngân hàng
42


25(bankAccounts)accountNumber
Stringsố tài khoản
43


26(bankAccounts) accountHolder
Stringtên tài khoản
44


27(bankAccounts) isDefault
Integerđánh dấu có mặc định hay không. 1: mặc định, 0: không mặc định

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values

1codeInteger0: thành công còn lại thất bại

2messageStringmessage

3.4 Mô tả các trường dữ liệu trên màn hình:

...