GENERATE CNOTE (CREATE SHIPMENT)
Endpoint
| Endpoint |
Method
|
Authentication |
| http://apiv2.jne.co.id:10102/tracing/api/generatecnote |
POST |
|
Authentication
Parameter
|
Value
|
| Content-Type |
application/x-www-form-urlencoded |
Body request
Type: x-www-form-urlencoded
{
"username": "TESTAPI",
"api_key": "25c898a9faea1a100859ecd9ef674548",
"OLSHOP_BRANCH": "CGK000",
"OLSHOP_CUST": "10950700",
"OLSHOP_ORDERID": "2345556",
"OLSHOP_SHIPPER_NAME": "ALI",
"OLSHOP_SHIPPER_ADDR1": "JAKARTA NO 44",
"OLSHOP_SHIPPER_ADDR2": "KALIBATA",
"OLSHOP_SHIPPER_ADDR3": "KALIBATA",
"OLSHOP_SHIPPER_CITY": "JAKARTA",
"OLSHOP_SHIPPER_REGION": "JAKARTA",
"OLSHOP_SHIPPER_ZIP": "12345",
"OLSHOP_SHIPPER_PHONE": "+6289876543212",
"OLSHOP_RECEIVER_NAME": "ANA",
"OLSHOP_RECEIVER_ADDR1": "BANDUNG NO 12",
"OLSHOP_RECEIVER_ADDR2": "CIBIRU",
"OLSHOP_RECEIVER_ADDR3": "BANDUNG",
"OLSHOP_RECEIVER_CITY": "BANDUNG",
"OLSHOP_RECEIVER_REGION": "JAWA BARAT",
"OLSHOP_RECEIVER_ZIP": "12365",
"OLSHOP_RECEIVER_PHONE": "+6285789065432",
"OLSHOP_QTY": "1",
"OLSHOP_WEIGHT": "1",
"OLSHOP_GOODSDESC": "TEST",
"OLSHOP_GOODSVALUE": "1000",
"OLSHOP_GOODSTYPE": "1",
"OLSHOP_INST": "TEST",
"OLSHOP_INS_FLAG": "N",
"OLSHOP_ORIG": "CGK10000",
"OLSHOP_DEST": "BDO10000",
"OLSHOP_SERVICE": "REG",
"OLSHOP_COD_FLAG": "N",
"OLSHOP_COD_AMOUNT": "0"
}
Properties
|
Data type |
Description |
| username* |
|
|
| api_key* |
|
|
| OLSHOP_BRANCH* |
VARCHAR(10 BYTE) |
Value of this Parameter is Branch code |
| OLSHOP_CUST* |
VARCHAR(10 BYTE) |
Values is your Cust no |
| OLSHOP_ORDERID* |
VARCHAR(20 BYTE) |
Value of this Parameter is Order Id of the goods |
| OLSHOP_SHIPPER_NAME* |
VARCHAR(30 BYTE) |
Value of this Parameter is Name of Shipper |
| OLSHOP_SHIPPER_ADDR1* |
VARCHAR(30 BYTE) |
Value of this Parameter is Address 1 of Shipper |
| OLSHOP_SHIPPER_ADDR2* |
VARCHAR(30 BYTE) |
Value of this Parameter is Address 2 of Shipper |
| OLSHOP_SHIPPER_ADDR3 |
VARCHAR(30 BYTE) |
Value of this Parameter is Address 3 of Shipper |
| OLSHOP_SHIPPER_CITY* |
VARCHAR(20 BYTE) |
Value of this Parameter is City of Shipper |
| OLSHOP_SHIPPER_REGION |
VARCHAR(20 BYTE) |
Value of this Parameter is Region of Shipper |
| OLSHOP_SHIPPER_ZIP* |
VARCHAR(5 BYTE) |
Value of this Parameter is zip of Shipper |
| OLSHOP_SHIPPER_PHONE* |
NUMBER (15 BYTE) |
Value of this Parameter is Phone of Shipper |
| OLSHOP_RECEIVER_NAME* |
VARCHAR(30 BYTE) |
Value of this Parameter is Name of Customer |
| OLSHOP_RECEIVER_ADDR1* |
VARCHAR(30 BYTE) |
Value of this Parameter is Address 1 of Customer |
| OLSHOP_RECEIVER_ADDR2* |
VARCHAR(30 BYTE) |
Value of this Parameter is Address 2 of Customer |
| OLSHOP_RECEIVER_ADDR3 |
VARCHAR(30 BYTE) |
Value of this Parameter is Address 3 of Customer |
| OLSHOP_RECEIVER_CITY* |
VARCHAR(20 BYTE) |
Value of this Parameter is City of Customer |
| OLSHOP_RECEIVER_REGION |
VARCHAR(20 BYTE) |
Value of this Parameter is Region of Customer |
| OLSHOP_RECEIVER_ZIP* |
VARCHAR(5 BYTE) |
Value of this Parameter is zip of Customer |
| OLSHOP_RECEIVER_PHONE* |
NUMBER (15 BYTE) |
Value of this Parameter is Phone of Customer |
| OLSHOP_QTY* |
NUMBER(5) |
Value of this Parameter is Qty of the goods (Number) |
| OLSHOP_WEIGHT* |
NUMBER(3) |
Value of this Parameter is Weight of the goods (Number) |
| OLSHOP_GOODSDESC* |
VARCHAR(60 BYTE) |
Value of this Parameter is Description of the goods |
| OLSHOP_GOODSVALUE* |
NUMBER(12 BYTE) |
Value of this Parameter is Amount of the goods |
| OLSHOP_GOODSTYPE* |
VARCHAR(1 BYTE) |
Default value ???2??? (No quotes) |
| OLSHOP_INST |
VARCHAR(60 BYTE) |
Value of this Parameter is Instruction of the goods |
| OLSHOP_INS_FLAG* |
VARCHAR (1 Byte) |
Fill ???Y??? if insurance and fill ???N??? if not |
| OLSHOP_ORIG* |
VARCHAR(10 BYTE) |
Value of this Parameter is Origin of the resellers value is CGK10000 |
| OLSHOP_DEST* |
VARCHAR(10 BYTE) |
Value of this Parameter is Destination of the goods (with Code) |
| OLSHOP_SERVICE* |
VARCHAR(10 BYTE) |
Value of this Parameter is Service of the goods (Value REG, YES, SS) |
| OLSHOP_COD_FLAG* |
VARCHAR (3 Byte) |
Fill ???YES??? if COD and fill ???N??? if not |
| OLSHOP_COD_AMOUNT* |
NUMBER(12 BYTE) |
Value of this Parameter is COD Amount of the goods |
Result example
Body request example
insert code here
Error example
Body request example
insert code here