Versions Compared

Key

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

...

Sample Values
Panel
titleAPI Spec Document

Tạo , cập nhật nhà cung cấp

Method

POST

URL

/application/organization/organization/update

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values






2. Body

STT

Field

Data Type / Length

Description

Note

STT

Path

Field

Data Type / Length

Description

Note

Sample Values

3. Response / Incoming Data Specification


contactOrg
string (json)liên hệ


capacityProfile
string (json)hồ sơ năng lực


type
intloại : cá nhân :0, tổ chức: 1 


name
stringTên tổ chức


shortName
stringtên ngắn tổ chức


firstName
stringtên 


lastName
stringhọ 


formalTitle
stringquý danh


taxCode
stringmã số thuế


cityId
intid thành phố


districtId
intid huyện


subdistrictId
int



countryCode
char(3)Mã quốc giaVN, ..

cityCode
char(40)Mã thành phố


districtCode
char(40)Mã huyện


subdistrictCode





address
string(60)địa chỉ
Max 60 length gửi sang sap

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


businessId
inttheo danh mục, ngành nghề phụ


active
inttrang thai hoat dong 0. ko hd 1.


status
inthd  0 - Tự đăng ký, 1 - Đã duyệt chính thức


groupType
char(10)nhóm nhà cung cấp


countryName
char(40)Tên quốc gia


cityName
char(40)Tên thành phố ( bang)


districtName
char(40)Tên huyện ( tiểu bang)


subdistrictName
char(40)Tên xã 


businessName

Ngành nghề phụ


fieldName

tên lĩnh vực chính


fieldId


lĩnh vực chính


fields

lĩnh vực phụ


businesses

ngành nghề phụ


bankAccounts

danh sách tài khoản


id
intmã orgranization : null là create , not null: update








3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values



contactOrgstring (json)liên hệ



capacityProfilestring (json)hồ sơ năng lực



typeintloại : cá nhân :0, tổ chức: 1 



namestringTên tổ chức



shortNamestringtên ngắn tổ chức



firstNamestringtên 



lastNamestringhọ 



formalTitlestringquý danh



taxCodestringmã số thuế



cityIdintid thành phố



districtIdintid huyện



subdistrictIdint




countryCodechar(3)Mã quốc giaVN, ..


cityCodechar(40)Mã thành phố



districtCodechar(40)Mã huyện



subdistrictCode





addressstring(60)địa chỉ
Max 60 length gửi sang sap

legalRepresentativestringđại diện pháp lý



businessIdinttheo danh mục, ngành nghề phụ



activeinttrang thai hoat dong 0. ko hd 1.



statusinthd  0 - Tự đăng ký, 1 - Đã duyệt chính thức



sapCode
mã từ sap 



sapSynchStatusinttrạng thái đồng bộ sap :0 : not ok , 1 : đã đồng bộ



groupType
nhóm nhà cung cấp



countryName
Tên quốc gia



cityName
Tên thành phố ( bang)



districtName
Tên huyện ( tiểu bang)



subdistrictName
Tên xã 



businessName
Ngành nghề phụ



fieldName
tên lĩnh vực chính



fieldId

lĩnh vực chính



fields
lĩnh vực phụ



businesses
ngành nghề phụ



bankAccounts
danh sách tài khoản


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

...