45 lines
700 B
Plaintext
45 lines
700 B
Plaintext
meta {
|
|
name: Preactivate
|
|
type: http
|
|
seq: 10
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}actions/preactivateLine
|
|
body: json
|
|
auth: bearer
|
|
}
|
|
|
|
auth:bearer {
|
|
token: {{ws-access-token-partenaire}}
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"dueDate": "2026-02-04T11:25:15.458Z",
|
|
"customerAccountCode": "9.49411.10",
|
|
"identifier": {
|
|
"identifiers": [
|
|
"8933201124059176320"
|
|
],
|
|
"identifierType": "ICCID"
|
|
}
|
|
}
|
|
}
|
|
|
|
body:form-urlencoded {
|
|
dueDate: 2026-01-28T13:51:15.458Z
|
|
}
|
|
|
|
script:post-response {
|
|
var rlt = res.getBody();
|
|
bru.setEnvVar("last-request-id", rlt.requestId);
|
|
bru.setEnvVar("ws-refresh-token-partenaire", rlt.refresh_token);
|
|
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|