PUT api/customer/add
Request Information
URI Parameters
None.
Body Parameters
PersonInfoName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
None. |
|
LastName | string |
None. |
|
BirthDate | date |
None. |
|
Sex | character |
None. |
|
Address | string |
None. |
|
Address2 | string |
None. |
|
City | string |
None. |
|
StateId | string |
None. |
|
Zip | string |
None. |
|
Phone | string |
None. |
|
CellPhone | string |
None. |
|
ParentId | globally unique identifier |
None. |
|
EmergencyContactName | string |
None. |
|
EmergencyContactRelationship | string |
None. |
|
EmergencyContactPhone | string |
None. |
|
EmergencyContactCellPhone | string |
None. |
|
EmergencyContactAlternatePhone | string |
None. |
|
string |
None. |
||
LoggedInUser | string |
None. |
|
CustomerContacts | Collection of CustomerContactInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "BirthDate": "2025-01-21T23:00:53.532561-08:00", "Sex": "A", "Address": "sample string 5", "Address2": "sample string 6", "City": "sample string 7", "StateId": "sample string 8", "Zip": "sample string 9", "Phone": "sample string 10", "CellPhone": "sample string 11", "ParentId": "ea45c84c-561d-4d8b-b11b-09ed630bc4f4", "EmergencyContactName": "sample string 13", "EmergencyContactRelationship": "sample string 14", "EmergencyContactPhone": "sample string 15", "EmergencyContactCellPhone": "sample string 16", "EmergencyContactAlternatePhone": "sample string 17", "EMail": "sample string 18", "LoggedInUser": "sample string 19", "CustomerContacts": [ { "CustomerContactId": "cdcfbcc6-71e5-4ca1-b646-b45442b028e6", "CustomerId": "d487f382-f70e-4aa0-a57a-30e76c7a3bf6", "Name": "sample string 3", "Relationship": "sample string 4", "Phone1": "sample string 5", "Phone2": "sample string 6", "Phone3": "sample string 7", "Email": "sample string 8", "IsParentOrGuardian": true, "IsSignatureOnFile": true, "IsEmergencyContact": true, "IsPrimaryEmergencyContact": true, "IsPickupAuthorized": true, "Order": 14, "LastModified": "2025-01-21T23:00:53.532561-08:00", "LastModifiedBy": "sample string 16" }, { "CustomerContactId": "cdcfbcc6-71e5-4ca1-b646-b45442b028e6", "CustomerId": "d487f382-f70e-4aa0-a57a-30e76c7a3bf6", "Name": "sample string 3", "Relationship": "sample string 4", "Phone1": "sample string 5", "Phone2": "sample string 6", "Phone3": "sample string 7", "Email": "sample string 8", "IsParentOrGuardian": true, "IsSignatureOnFile": true, "IsEmergencyContact": true, "IsPrimaryEmergencyContact": true, "IsPickupAuthorized": true, "Order": 14, "LastModified": "2025-01-21T23:00:53.532561-08:00", "LastModifiedBy": "sample string 16" } ] }
application/xml, text/xml
Sample:
<PersonInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCMS.Models.Api"> <Address>sample string 5</Address> <Address2>sample string 6</Address2> <BirthDate>2025-01-21T23:00:53.532561-08:00</BirthDate> <CellPhone>sample string 11</CellPhone> <City>sample string 7</City> <CustomerContacts> <CustomerContactInfo> <CustomerContactId>cdcfbcc6-71e5-4ca1-b646-b45442b028e6</CustomerContactId> <CustomerId>d487f382-f70e-4aa0-a57a-30e76c7a3bf6</CustomerId> <Email>sample string 8</Email> <IsEmergencyContact>true</IsEmergencyContact> <IsParentOrGuardian>true</IsParentOrGuardian> <IsPickupAuthorized>true</IsPickupAuthorized> <IsPrimaryEmergencyContact>true</IsPrimaryEmergencyContact> <IsSignatureOnFile>true</IsSignatureOnFile> <LastModified>2025-01-21T23:00:53.532561-08:00</LastModified> <LastModifiedBy>sample string 16</LastModifiedBy> <Name>sample string 3</Name> <Order>14</Order> <Phone1>sample string 5</Phone1> <Phone2>sample string 6</Phone2> <Phone3>sample string 7</Phone3> <Relationship>sample string 4</Relationship> </CustomerContactInfo> <CustomerContactInfo> <CustomerContactId>cdcfbcc6-71e5-4ca1-b646-b45442b028e6</CustomerContactId> <CustomerId>d487f382-f70e-4aa0-a57a-30e76c7a3bf6</CustomerId> <Email>sample string 8</Email> <IsEmergencyContact>true</IsEmergencyContact> <IsParentOrGuardian>true</IsParentOrGuardian> <IsPickupAuthorized>true</IsPickupAuthorized> <IsPrimaryEmergencyContact>true</IsPrimaryEmergencyContact> <IsSignatureOnFile>true</IsSignatureOnFile> <LastModified>2025-01-21T23:00:53.532561-08:00</LastModified> <LastModifiedBy>sample string 16</LastModifiedBy> <Name>sample string 3</Name> <Order>14</Order> <Phone1>sample string 5</Phone1> <Phone2>sample string 6</Phone2> <Phone3>sample string 7</Phone3> <Relationship>sample string 4</Relationship> </CustomerContactInfo> </CustomerContacts> <EMail>sample string 18</EMail> <EmergencyContactAlternatePhone>sample string 17</EmergencyContactAlternatePhone> <EmergencyContactCellPhone>sample string 16</EmergencyContactCellPhone> <EmergencyContactName>sample string 13</EmergencyContactName> <EmergencyContactPhone>sample string 15</EmergencyContactPhone> <EmergencyContactRelationship>sample string 14</EmergencyContactRelationship> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <LoggedInUser>sample string 19</LoggedInUser> <ParentId>ea45c84c-561d-4d8b-b11b-09ed630bc4f4</ParentId> <Phone>sample string 10</Phone> <Sex>65</Sex> <StateId>sample string 8</StateId> <Zip>sample string 9</Zip> </PersonInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfObjectName | Description | Type | Additional information |
---|---|---|---|
Content | Object |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.