Skip to content

Commit

Permalink
[#5] improvement review documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmadGozali19 committed Dec 8, 2020
1 parent c2bb9f3 commit c10244e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions doc/companies.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ name | string | Test Company
address | string | JL. Test Company
npwp | string | 123
nomor_kukuh | string | 123
tgl_kukuh | date | 12
tgl_kukuh | date | 2020-12-08
phone_num | string | 021
fax_num | string | 021
seri_pajak | string | 12
Expand All @@ -40,7 +40,7 @@ kota | string | JAKARTA
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand Down Expand Up @@ -73,7 +73,7 @@ HTTP Code | Status | Description
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand All @@ -85,7 +85,7 @@ HTTP Code | Status | Description
### Logic

#### Validation
- company_code : unique and not empty
- company_code : unique, required and not empty
- name : required and not empty
- address : required and not empty
- npwp : required and not empty
Expand Down Expand Up @@ -352,7 +352,7 @@ Request Payload :
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand All @@ -374,7 +374,7 @@ Response Payload :
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand Down Expand Up @@ -411,7 +411,7 @@ HTTP Code | Status | Description
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand All @@ -438,7 +438,7 @@ Response Payload :
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand Down Expand Up @@ -466,7 +466,7 @@ name | string | Test Company
address | string | JL. Test Company
npwp | string | 123
nomor_kukuh | string | 123
tgl_kukuh | date | 12
tgl_kukuh | date | 2020-12-08
phone_num | string | 021
fax_num | string | 021
seri_pajak | string | 12
Expand All @@ -478,7 +478,7 @@ kota | string | JAKARTA
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand Down Expand Up @@ -512,7 +512,7 @@ HTTP Code | Status | Description
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand All @@ -524,7 +524,7 @@ HTTP Code | Status | Description
### Logic

#### Validation
- company_code : unique and not empty
- company_code : unique, required and not empty
- name : required and not empty
- address : required and not empty
- npwp : required and not empty
Expand Down Expand Up @@ -718,7 +718,7 @@ Response Payload :
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand Down Expand Up @@ -750,7 +750,7 @@ Response Payload :
"address": "JL. Test Company",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand Down Expand Up @@ -782,7 +782,7 @@ Response Payload :
"address": "JL. Test Company Center",
"npwp": "123",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand Down Expand Up @@ -814,7 +814,7 @@ Response Payload :
"address": "JL. Test Company Center",
"npwp": "1234",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "021",
"fax_num": "021",
"seri_pajak": "12",
Expand Down Expand Up @@ -846,7 +846,7 @@ Response Payload :
"address": "JL. Test Company Center",
"npwp": "1234",
"nomor_kukuh": "123",
"tgl_kukuh": "12",
"tgl_kukuh": "2020-12-08",
"phone_num": "0216",
"fax_num": "021",
"seri_pajak": "12",
Expand Down

0 comments on commit c10244e

Please sign in to comment.