POST api/EducationActivity
Request Information
URI Parameters
None.
Body Parameters
EducationActivityRequestName | Description | Type | Additional information |
---|---|---|---|
EducationActivity | EducationActivity |
None. |
Request Formats
application/json, text/json
Sample:
{ "EducationActivity": { "Id": "0658e6a8-bf6f-42fb-894d-789cbacfd87b", "Customer": { "Id": "f9f40dbf-d8e2-45b8-9f74-27f26c99ce72", "Number": "sample string 1", "CustomerType": 1 }, "CourseCode": "sample string 2", "CourseName": "sample string 3", "ActivityDate": "2025-08-31T05:45:05.1958297+00:00", "Score": 5.0, "CreditStatus": 1, "Custom": { "Attribute": [ { "Type": 0, "Key": "sample string 1", "Value": "sample string 2", "FormattedValue": "sample string 3" }, { "Type": 0, "Key": "sample string 1", "Value": "sample string 2", "FormattedValue": "sample string 3" } ] } } }
application/xml, text/xml
Sample:
<EducationActivityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.EducationActivity"> <EducationActivity> <ActivityDate>2025-08-31T05:45:05.1958297+00:00</ActivityDate> <CourseCode>sample string 2</CourseCode> <CourseName>sample string 3</CourseName> <CreditStatus>Enrolled</CreditStatus> <Custom> <Attribute xmlns:d4p1="http://schemas.datacontract.org/2004/07/Protech.UX.API.CRMEntity"> <d4p1:Attribute> <d4p1:FormattedValue>sample string 3</d4p1:FormattedValue> <d4p1:Key>sample string 1</d4p1:Key> <d4p1:Type>text</d4p1:Type> <d4p1:Value>sample string 2</d4p1:Value> </d4p1:Attribute> <d4p1:Attribute> <d4p1:FormattedValue>sample string 3</d4p1:FormattedValue> <d4p1:Key>sample string 1</d4p1:Key> <d4p1:Type>text</d4p1:Type> <d4p1:Value>sample string 2</d4p1:Value> </d4p1:Attribute> </Attribute> </Custom> <Customer xmlns:d3p1="http://schemas.datacontract.org/2004/07/Protech.UX.API.Customer"> <d3p1:CustomerType>Account</d3p1:CustomerType> <d3p1:Id>f9f40dbf-d8e2-45b8-9f74-27f26c99ce72</d3p1:Id> <d3p1:Number>sample string 1</d3p1:Number> </Customer> <Id>0658e6a8-bf6f-42fb-894d-789cbacfd87b</Id> <Score>5</Score> </EducationActivity> </EducationActivityRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseName | Description | Type | Additional information |
---|---|---|---|
Status | Status |
None. |
|
Id | globally unique identifier |
None. |
|
Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 0, "Id": "bfa007fc-fbce-44ad-b0b5-a0edfbe0a73a", "Description": "sample string 2" }
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.Response"> <Description>sample string 2</Description> <Id>bfa007fc-fbce-44ad-b0b5-a0edfbe0a73a</Id> <Status>Success</Status> </APIResponse>