Parts of the new REST api require a zuora-version header to be sent. Proposed solution will be to add
$zuora_version = null in the call functions.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | interdiff-2887882-7-11.txt | 2.52 KB | TylerMarshall |
| #11 | 2887822-11.patch | 3.04 KB | TylerMarshall |
Comments
Comment #2
TylerMarshall commentedAdds a patch that adds $zuora_version = null in all functions and filters out in httpRequest.
Comment #3
TylerMarshall commentedForgot to add the implementation in httpHeaders()
Comment #4
TylerMarshall commentedZuora Support told me to move from zuora_version to zuora-version
Comment #5
TylerMarshall commentedForgot to add the finished patch with interdiffs applied.
Comment #6
mglamanDocument blocks not updated.
Why not first just check if it's not null, then add if it has a value versus array filter.
Comment #7
TylerMarshall commentedUpdated docs, and added if check for zuora_version
Comment #8
TylerMarshall commentedComment #9
mglamanhttpRequest expects a body value. You're sending the Zuora version as the body in GET requests.
Comment #10
mglamanI know they told us to do this, but why can't we just change the URL?
Can we also provide a constant for the other version?
Comment #11
TylerMarshall commentedAdded NULL in the method header for get so we can pass zuora_header
Comment #12
TylerMarshall commentedComment #14
mglamanThanks!