REST Operation Headers

  • Updated

Sample XML

<Request>
...
   <RuleEngineServiceOptions>
       <Overrides>
           <Override>
               <Name>data element name</Name>
               <OverrideType>RestOperationHeaders</OverrideType>
               <RestOperationHeaders>
                   <HttpHeader>
                       <HeaderName>header name1</HeaderName>
                       <HeaderValue>header value1</HeaderValue>
                   </HttpHeader>
                   <HttpHeader>
                       <HeaderName>header name2</HeaderName>
                       <HeaderValue>header value2</HeaderValue>
                   </HttpHeader>
               </RestOperationHeaders>
           </Override>
       </Overrides>
   ...
   </RuleEngineServiceOptions>
...
</Request>

 

Sample JSON

{
   "RuleEngineServiceOptions": {
       "Overrides": [
           {
               "Name": "data element name",
               "OverrideType": "RestOperationHeaders",
               "RestOperationHeaders": [
                   {
                       "HeaderName": "header name1",
                       "HeaderValue": "header value1"
                   },
                   {
                       "HeaderName": "header name2",
                       "HeaderValue": "header value2"
                   }
               ]
          }
       ]
   }
}

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.