Skip to content

Commit

Permalink
docs: Update postman collections for credit account purchase scenario (
Browse files Browse the repository at this point in the history
  • Loading branch information
john-fletcher-aot authored Mar 26, 2024
1 parent dd1fd7d commit d008acd
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,39 @@
"value": "Insert GL Code into 'Current Value' column",
"type": "default",
"enabled": true
},
{
"key": "account_number",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "site_number",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "invoice_number",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "party_number",
"value": "",
"type": "default",
"enabled": true
},
{
"key": "access_token",
"value": "",
"type": "default",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2024-03-26T15:22:23.063Z",
"_postman_exported_at": "2024-03-26T21:59:14.243Z",
"_postman_exported_using": "Postman/10.23.5"
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
" pm.response.to.have.status(200);\r",
" var jsonData = pm.response.json();\r",
" pm.expect(jsonData).to.have.property('invoice_number');\r",
" pm.collectionVariables.set('invoice_number', jsonData.invoice_number);\r",
" pm.environment.set('invoice_number', jsonData.invoice_number);\r",
"});"
],
"type": "text/javascript"
Expand Down Expand Up @@ -285,46 +285,6 @@
}
],
"variable": [
{
"key": "access_token",
"value": "",
"type": "string"
},
{
"key": "business_number",
"value": "",
"type": "string"
},
{
"key": "party_number",
"value": "",
"type": "string"
},
{
"key": "customer_name",
"value": "ABC Trucking Inc.",
"type": "string"
},
{
"key": "account_description",
"value": "Test account for ABC Trucking",
"type": "string"
},
{
"key": "account_number",
"value": "",
"type": "string"
},
{
"key": "site_number",
"value": "",
"type": "string"
},
{
"key": "invoice_number",
"value": "",
"type": "string"
},
{
"key": "transaction_date",
"value": "",
Expand All @@ -335,11 +295,6 @@
"value": "",
"type": "string"
},
{
"key": "onroute_client_number",
"value": "B2-000067-245",
"type": "string"
},
{
"key": "transaction_number",
"value": "",
Expand All @@ -359,21 +314,6 @@
"key": "transaction_amount_2",
"value": "90.00",
"type": "string"
},
{
"key": "receipt_number",
"value": "",
"type": "string"
},
{
"key": "receipt_date",
"value": "",
"type": "string"
},
{
"key": "receipt_amount",
"value": "20",
"type": "string"
}
]
}

0 comments on commit d008acd

Please sign in to comment.