How to use and understood CAML query condition and how to apply the condition to SharePoint's REST API? Please see my CAML query condition and my REST API code also.
CAML query condition:
"<View>
<Query>
<Where>
<And>
<And>
<Neq>
<FieldRef Name='Author' LookupId='True' />
<Value Type='User'>111</Value>
</Neq>
<Neq>
<FieldRef Name='PIC' LookupId='True' />
<Value Type='UserMulti'>111</Value>
</Neq>
</And>
<And>
<Neq>
<FieldRef Name='MasterPIC' LookupId='True' />
<Value Type='UserMulti'>111</Value>
</Neq>
<Neq>
<FieldRef Name='GatekeepingPic' LookupId='True' />
<Value Type='UserMulti'>111</Value>
</Neq>
</And>
</And>
</Where>
</Query>
</View>"
REST API condition:
http://.../_api/lists/getbytitle('Library')/items?$select=TitleNew,Author/Id,Author/Title,MeetingDate,NgoName,Staff,MPicmailid,MasterPIC/Id,MasterPIC/Title,Editor/Id,Editor/Title&$expand=Author,MasterPIC,Editor&$filter=(Author/Id ne '111')and (MasterPIC/Id ne '111') and (Editor/Id ne '111')
How to understand the camel query condition? Please, anyone, Is both conditions are true? if it false in rest API please update my rest API condition? I need condition only to my rest API.