Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This represents the web service response status and message.


ElementData TypeDescriptionDefault (on insert/update)Sample Data
AdditionalErrorTextStringIf the Status is OkWithWarnings or Fail, this will contain one or more warning or error messages. It may also contain (even when Status is Ok) informational messages.
Warning 105
ErrorCodeStringError Code
AtLeastOneItemNotFound
Error TextStringError Text
At least one requested item was not found. The remaining items, if any, were returned.
TypeStringError Type
"Warning" or "Error"
ReferenceId1Int32


ReferenceId2Int32


Usage Example(s)


Code Block
languagexml
titleExample 01 - Warning
collapsetrue
              <b:PwsMessage>
                  <b:AdditionalErrorText i:nil="true"/>
                  <b:ErrorCode>AtLeastOneItemNotFound</b:ErrorCode>
                  <b:ErrorNumber>105</b:ErrorNumber>
                  <b:ErrorText>At least one requested item was not found. The remaining items, if any, were returned.</b:ErrorText>
                  <b:Type>Warning</b:Type>
                  <b:ReferenceId1 i:nil="true"/>
                  <b:ReferenceId2 i:nil="true"/>
               </b:PwsMessage>

Code Block
languagexml
titleExample 02 - Error
collapsetrue
              <PwsMessage>
                     <AdditionalErrorText>Error 10004: InvalidSessionTicket</AdditionalErrorText>
                     <ErrorCode>InvalidSessionTicket</ErrorCode>
                     <ErrorNumber>10004</ErrorNumber>
                     <ErrorText>The specified session ticket is invalid. Please verify you are issuing this request against the correct instance of Projector.</ErrorText>
                     <Type>Error</Type>
                     <ReferenceId1 i:nil="true"/>
                     <ReferenceId2 i:nil="true"/>
                  </PwsMessage>