Can a REST Http post method get a custom object( containing other custom objects and standard objects ) as a parameter if so how would the http post request body look like ? Thank you all for reading this : )
@RestResource(urlMapping='/myCustomREST/v1/*')
global with sharing class RestCustomClass {
global class myCustomRequest {
public MyCustomObj customObj;
public Account account;
public Contact contact;
}
.....