I'm trying to process an XML response. But I get this error:
REST: Object corresponding to Response was not found in the business space version. Ignoring the node
The Response looks like below.
I just want the Status. Any tips on how to set up the Business Objects to accept the response? I have TWO objects at the moment:
Response - which has one ref attribute
Status - which has one plain text attribute called Status.
<Response xmlns:mad:sd="http://www.w3.org/2001/XMLSchema" xmlns:mad:si="http://www.w3.org/2001/XMLSchema-instance">
<Id>11205321-08b7-4342-8a4d-3ba96fa05fe9</Id>
<Status>OK</Status>
<ProviderName>BuildManager</ProviderName>
<DateTimeUTC>2018-09-16T02:01:18.0523017Z</DateTimeUTC>
<Invoices>
<Invoice>
<Contact>
<ContactID>614d76c0-30f5-499c-b18a-930b58b179ef</ContactID>
<ContactStatus>ACTIVE</ContactStatus>
<Name>TEST C</Name>
<Addresses>
<Address>
<AddressType>STREET</AddressType>
</Address>
<Address>
<AddressType>POBOX</AddressType>
</Address>
</Addresses>
<Phones>
<Phone>
<PhoneType>DEFAULT</PhoneType>
</Phone>
<Phone>
<PhoneType>DDI</PhoneType>
</Phone>
<Phone>
<PhoneType>FAX</PhoneType>
</Phone>
<Phone>
<PhoneType>MOBILE</PhoneType>
</Phone>
</Phones>
<UpdatedDateUTC>2018-09-16T02:01:17.363</UpdatedDateUTC>
<IsSupplier>false</IsSupplier>
<IsCustomer>true</IsCustomer>
</Contact>
<Date>2018-09-15T00:00:00</Date>
<DueDate>2018-09-20T00:00:00</DueDate>
<Status>AUTHORISED</Status>
<LineAmountTypes>Exclusive</LineAmountTypes>
<LineItems>
<LineItem>
<Description>Consultingservicesasagreed</Description>
<UnitAmount>120.00</UnitAmount>
<TaxType>OUTPUT</TaxType>
<TaxAmount>60.00</TaxAmount>
<LineAmount>600.00</LineAmount>
<AccountCode>200</AccountCode>
<Quantity>5.0000</Quantity>
<LineItemID>18900bb2-fc21-4040-a336-563a5ab65560</LineItemID>
</LineItem>
<LineItem>
<Description>Lots of dev work here</Description>
<UnitAmount>108.00</UnitAmount>
<TaxType>OUTPUT</TaxType>
<TaxAmount>723.60</TaxAmount>
<LineAmount>7236.00</LineAmount>
<AccountCode>200</AccountCode>
<Quantity>67.0000</Quantity>
<LineItemID>bf797125-0d93-420e-be69-a6abe0b8d40a</LineItemID>
</LineItem>
</LineItems>
<SubTotal>7836.00</SubTotal>
<TotalTax>783.60</TotalTax>
<Total>8619.60</Total>
<UpdatedDateUTC>2018-09-16T02:01:17.693</UpdatedDateUTC>
<CurrencyCode>AUD</CurrencyCode>
<Type>ACCREC</Type>
<InvoiceID>f5176742-8895-4b1c-9629-58f1d4195ec8</InvoiceID>
<InvoiceNumber>ABC123</InvoiceNumber>
<AmountDue>8619.60</AmountDue>
<AmountPaid>0.00</AmountPaid>
<SentToContact>true</SentToContact>
<CurrencyRate>1.000000</CurrencyRate>
</Invoice>
</Invoices>
</Response>