Pera Administrators Service

<back to all web services

CrmAdminSourceTypeRequest

The following routes are available for this service:
POST, OPTIONS/v1/CrmAdmin/SourceType/{ContactTypeId}/{Description}
GET,OPTIONS/v1/CrmAdmin/SourceType
GET,PUT,OPTIONS/v1/CrmAdmin/SourceType/{SourceTypeId}
GET,PUT,OPTIONS/v1/CrmAdmin/SourceTypeByContactType/{ContactTypeId}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/CrmAdminSourceTypeRequest HTTP/1.1 
Host: testapi.peraadministrators.com 
Content-Type: text/csv
Content-Length: length

SourceTypeId,ContactTypeId,Description,SourceType
0,0,String,"[{SourceTypeId:0,Description:String,Hint:String,ContactTypeId:0}]"

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Status,ResponseStatus,SourceType
False,"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{SourceTypeId:0,Description:String,Hint:String,ContactTypeId:0}]"