G
03/21/2023, 4:56 PMscottvonduhn
03/21/2023, 5:05 PMContent-Type
header set to: application/json
scottvonduhn
03/21/2023, 5:06 PMscottvonduhn
03/21/2023, 5:19 PMG
03/21/2023, 5:28 PMscottvonduhn
03/21/2023, 5:29 PMscottvonduhn
03/21/2023, 5:31 PMbattk
03/21/2023, 9:25 PMINVALID_RETURN_DATA_FORMAT
means that the client is screwing up the content type headerG
03/22/2023, 11:58 PMbattk
03/23/2023, 12:02 AMbattk
03/23/2023, 12:03 AMscottvonduhn
03/23/2023, 12:03 AMG
03/23/2023, 12:29 AMbattk
03/23/2023, 12:48 AMreptar
03/23/2023, 2:24 PMscottvonduhn
03/23/2023, 2:27 PMG
03/23/2023, 8:29 PMreptar
03/23/2023, 8:37 PMbattk
03/23/2023, 8:41 PMbattk
03/23/2023, 8:42 PMbattk
03/23/2023, 8:42 PMG
03/23/2023, 11:29 PMdoPost
? But isn't the defined in the script, requestBody.length
- used to determine the number of items in an array no?battk
03/23/2023, 11:30 PMG
03/23/2023, 11:37 PMbattk
03/23/2023, 11:38 PMbattk
03/23/2023, 11:38 PMbattk
03/23/2023, 11:39 PMbattk
03/23/2023, 11:39 PMbattk
03/23/2023, 11:40 PMbattk
03/24/2023, 12:04 AMbattk
03/24/2023, 12:04 AMbattk
03/24/2023, 12:06 AMvar requestBody = {
"customform": "141",
"trandate": "2023-03-03T14:00:46.000-04:00",
"shipstatus": "C",
"internalid": "68780607",
"ExternalId": "321123231",
"linesToFulfill": [
{
"orderLine": "1",
"quantity": "1"
}
]
}
battk
03/24/2023, 12:06 AMvar intSalesOrderCount = requestBody.length;
is always supposed to be undefinedG
03/24/2023, 8:58 AMbattk
03/24/2023, 11:03 AMG
03/24/2023, 9:01 PMG
03/24/2023, 9:02 PMG
03/24/2023, 9:07 PM"item": "",
line, I get the error org.mozilla.javascript.EcmaError: SyntaxError: Unexpected token in object literal (INVOCATION_WRAPPER$sys#24)?
can I get some actual help rather than just another link to look at?battk
03/24/2023, 10:00 PMbattk
03/24/2023, 10:00 PMbattk
03/24/2023, 10:04 PMbattk
03/24/2023, 10:04 PMbattk
03/24/2023, 10:10 PMbattk
03/24/2023, 10:10 PMbattk
03/24/2023, 10:13 PMbattk
03/24/2023, 10:15 PMbattk
03/24/2023, 10:17 PM