Required role: | REGISUserRole |
POST | /Directory/Share/{directory_uuid}/Save |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class DirectoryShareUpdateRequest
{
var directory_uuid:String? = null
var share_full_name:Boolean? = null
var share_bday:Boolean? = null
var share_home_phone:Boolean? = null
var share_cell_phone:Boolean? = null
var share_email:Boolean? = null
var share_address:Boolean? = null
var share_quote:Boolean? = null
var share_bio:Boolean? = null
var share_interests:Boolean? = null
var share_home_country:Boolean? = null
var share_program:Boolean? = null
var share_picture:Boolean? = null
var share_spouse_name:Boolean? = null
var share_spouse_bday:Boolean? = null
var share_wedding_date:Boolean? = null
var share_kids:Boolean? = null
var share_field_of_work:Boolean? = null
var share_church:Boolean? = null
}
Kotlin DirectoryShareUpdateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Directory/Share/{directory_uuid}/Save HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"directory_uuid":"String","share_full_name":false,"share_bday":false,"share_home_phone":false,"share_cell_phone":false,"share_email":false,"share_address":false,"share_quote":false,"share_bio":false,"share_interests":false,"share_home_country":false,"share_program":false,"share_picture":false,"share_spouse_name":false,"share_spouse_bday":false,"share_wedding_date":false,"share_kids":false,"share_field_of_work":false,"share_church":false}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}