Skip to content

Commit

Permalink
Feature/regions (#24)
Browse files Browse the repository at this point in the history
* [#3] Update Regions Documentation and add a figure of regions table

* [#3] Update Region Documentation based on review

* [#3] Update Region Documentation based on 2nd review

* [#3] add region code must be unique and remove the last line that does not need comma

* [#3] Update region-layer

* [#3] Rename regions.png to region-layer.png

* [#3] Remove company_code and kunci from regions table

* [#3] Delete company_code

* [#3] Delete negative case at edit
  • Loading branch information
msyuniarto authored Dec 11, 2020
1 parent 3de332e commit 15c0169
Showing 1 changed file with 2 additions and 42 deletions.
44 changes: 2 additions & 42 deletions doc/regions.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ HTTP Code | Status | Description
"id":"5e6c4216-360c-11eb-8f39-5600024efe02",
"region_code" : "AMD",
"name" : "Auto Moro Dewe",
"company_code" : "BKNINTEL",
"company_id" : "d58edc03-360c-11eb-8f39-5600024efe02",
"created" : "2020-12-02 09:03:44",
"modified" : "2020-12-02 09:03:44"
Expand Down Expand Up @@ -206,7 +205,6 @@ Response Payload :
"id":"5e6c4216-360c-11eb-8f39-5600024efe02",
"region_code" : "AMD",
"name" : "Auto Moro Dewe",
"company_code" : "BKNINTEL",
"company_id" : "d58edc03-360c-11eb-8f39-5600024efe02",
"created" : "2020-12-02 09:03:44",
"modified" : "2020-12-02 09:03:44"
Expand Down Expand Up @@ -241,7 +239,6 @@ HTTP Code | Status | Description
"id":"5e6c4216-360c-11eb-8f39-5600024efe02",
"region_code" : "AMD",
"name" : "Auto Moro Dewe",
"company_code" : "BKNINTEL",
"company_id" : "d58edc03-360c-11eb-8f39-5600024efe02",
"created" : "2020-12-02 09:03:44",
"modified" : "2020-12-02 09:03:44"
Expand All @@ -264,7 +261,6 @@ Response Payload :
"id":"5e6c4216-360c-11eb-8f39-5600024efe02",
"region_code" : "AMD",
"name" : "Auto Moro Dewe",
"company_code" : "BKNINTEL",
"company_id" : "d58edc03-360c-11eb-8f39-5600024efe02",
"created" : "2020-12-02 09:03:44",
"modified" : "2020-12-02 09:03:44"
Expand Down Expand Up @@ -319,7 +315,6 @@ HTTP Code | Status | Description
"id":"5e6c4216-360c-11eb-8f39-5600024efe02",
"region_code" : "MMT",
"name" : "Monggo Moro Tumbas",
"company_code" : "BKNINTEL",
"company_id" : "d58edc03-360c-11eb-8f39-5600024efe02",
"created" : "2020-12-02 09:03:44",
"modified" : "2020-12-02 09:03:44"
Expand All @@ -337,39 +332,6 @@ HTTP Code | Status | Description

#### Case : Negative Case 1

Request Payload : empty

Response HTTP Status Code : 400

Response Payload :
```
{
"status_code": "cdc-400",
"status_message": "region_code is required",
"data": null
}
```

#### Case : Negative Case 2

Request Payload :
```
{}
```

Response HTTP Status Code : 400

Response Payload :
```
{
"status_code": "cdc-400",
"status_message": "region_code is required",
"data": null
}
```

#### Case : Negative Case 3

Request Payload
```
{
Expand All @@ -388,7 +350,7 @@ Response Payload
}
```

#### Case : Negative Case 4
#### Case : Negative Case 2

Request Payload
```
Expand All @@ -408,7 +370,7 @@ Response Payload
}
```

#### Case : Negative Case 5
#### Case : Negative Case 3

Request Payload
```
Expand Down Expand Up @@ -448,7 +410,6 @@ Response Payload :
"id":"5e6c4216-360c-11eb-8f39-5600024efe02",
"region_code" : "MMT",
"name" : "Auto Moro Dewe",
"company_code" : "BKNINTEL",
"company_id" : "d58edc03-360c-11eb-8f39-5600024efe02",
"created" : "2020-12-02 09:03:44",
"modified" : "2020-12-02 10:03:44"
Expand Down Expand Up @@ -476,7 +437,6 @@ Response Payload :
"id":"5e6c4216-360c-11eb-8f39-5600024efe02",
"region_code" : "AMD",
"name" : "Monggo Moro Tumbas",
"company_code" : "BKNINTEL",
"company_id" : "d58edc03-360c-11eb-8f39-5600024efe02",
"created" : "2020-12-02 09:03:44",
"modified" : "2020-12-02 10:03:44"
Expand Down

0 comments on commit 15c0169

Please sign in to comment.