# Items to approve[07.09]: ## Q1: GET /platforms GET /platforms response: return array with all elements in collection | query parameter | | --------------- | | platformIds | | platformTypeIds | 1. This is correct? -- yes GET /platforms?platformIds=1 response: return array with elements where platformId is 1 2. This is correct? -- yes GET /platforms?platformIds=1,2 response: return array with elements where platformId is 1 OR 2 3. This is correct? -- yes GET /platforms?platformTypeIds=1 response: return array with elements where platformTypeId is 1 **When applying a filter on platformTypeIds with multiple values, the resulting response will include any document matching at least 1 of the values in the array.** 4. This is correct? -- yes GET /platforms?platformTypeIds=1,2 > db: [ > { platformId: 1, platformTypeIds: [1] }, > { platformId: 2, platformTypeIds: [2] }, > { platformId: 3, platformTypeIds: [1,2] }, > { platformId: 4, platformTypeIds: [1,2,3] }, > { platformId: 5, platformTypeIds: [1,3] }, > ] A -- yes: response: return array with elements where platformTypeId is 1 or 2 > response: [ > { platformId: 1, platformTypeIds: [1] }, > { platformId: 2, platformTypeIds: [2] }, > { platformId: 3, platformTypeIds: [1,2] }, > { platformId: 4, platformTypeIds: [1,2,3] }, > { platformId: 5, platformTypeIds: [1,3] }, > ] GET /platforms?platformTypeIds=1,3 > response: [ > { platformId: 1, platformTypeIds: [1] }, > { platformId: 3, platformTypeIds: [1,2] }, > { platformId: 4, platformTypeIds: [1,2,3] }, > { platformId: 5, platformTypeIds: [1,3] }, > ] ~~B: response: return array with elements where platformTypeId is 1 AND 2~~ > response: [ > { platformId: 3, platformTypeIds: [1,2] }, > { platformId: 4, platformTypeIds: [1,2,3] }, > ] ~~C: response: return array with elements where platformTypeIds is [1,2]~~ > response: [ > { platformId: 3, platformTypeIds: [1,2] }, > ] 5. This is correct? -- yes GET /platforms?platformTypeIds=1,2&platformIds=1 response: return array with elements where platformTypeId is 1 or 2 and platformId is 1 ## Q2: GET /twilio/projects/phone-numbers GET /twilio/projects/phone-numbers return all twilio phone numbers what is available on Twilio Project | query parameter | | --------------- | | authToken | | accountSid | | isUsed | 1. This is correct? -- yes GET /twilio/projects/phone-numbers?accountSid=XYZ&authToken=XYZ return all twilio phone numbers associated to the Twilio Project 2. This is correct? -- yes GET /twilio/projects/phone-numbers?accountSid=XYZ&authToken=XYZ&isUsed=false return twilio phoneNumbers filtered by our system. List of phone numbers that are available (not used yet) to be enabled in our system 3. This is correct? -- yes GET /twilio/projects/phone-numbers?accountSid=XYZ&authToken=XYZ&isUsed=true return twilio phoneNumbers filtered by our system. List of phone numbers that are not available since they are already enabled in our system (have record in TwilioSMS_Workspaces)