All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
franchisereferalincomeCreateObjectV2 | POST /2/object/franchisereferalincome | Create a new Franchisereferalincome |
open class func franchisereferalincomeCreateObjectV2(franchisereferalincomeCreateObjectV2Request: FranchisereferalincomeCreateObjectV2Request, completion: @escaping (_ data: FranchisereferalincomeCreateObjectV2Response?, _ error: Error?) -> Void)
Create a new Franchisereferalincome
The endpoint allows to create one or many elements at once.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient
let franchisereferalincomeCreateObjectV2Request = franchisereferalincome-createObject-v2-Request(aObjFranchisereferalincome: [franchisereferalincome-RequestCompound(pkiFranchisereferalincomeID: 123, fkiFranchisebrokerID: 123, fkiFranchisereferalincomeprogramID: 123, fkiPeriodID: 123, dFranchisereferalincomeLoan: "dFranchisereferalincomeLoan_example", dFranchisereferalincomeFranchiseamount: "dFranchisereferalincomeFranchiseamount_example", dFranchisereferalincomeFranchisoramount: "dFranchisereferalincomeFranchisoramount_example", dFranchisereferalincomeAgentamount: "dFranchisereferalincomeAgentamount_example", dtFranchisereferalincomeDisbursed: "dtFranchisereferalincomeDisbursed_example", tFranchisereferalincomeComment: "tFranchisereferalincomeComment_example", fkiFranchiseofficeID: 123, sFranchisereferalincomeRemoteid: "sFranchisereferalincomeRemoteid_example", objAddress: address-Request(fkiAddresstypeID: 123, sAddressCivic: "sAddressCivic_example", sAddressStreet: "sAddressStreet_example", sAddressSuite: "sAddressSuite_example", sAddressCity: "sAddressCity_example", fkiProvinceID: 123, fkiCountryID: 123, sAddressZip: "sAddressZip_example", fAddressLongitude: "fAddressLongitude_example", fAddressLatitude: "fAddressLatitude_example"), aObjContact: [contact-RequestCompound(fkiContacttitleID: 123, fkiLanguageID: 123, sContactFirstname: "sContactFirstname_example", sContactLastname: "sContactLastname_example", sContactCompany: "sContactCompany_example", dtContactBirthdate: "dtContactBirthdate_example", objContactinformations: contactinformations-RequestCompound(iAddressDefault: 123, iPhoneDefault: 123, iEmailDefault: 123, iWebsiteDefault: 123, aObjAddress: [address-RequestCompound(fkiAddresstypeID: 123, sAddressCivic: "sAddressCivic_example", sAddressStreet: "sAddressStreet_example", sAddressSuite: "sAddressSuite_example", sAddressCity: "sAddressCity_example", fkiProvinceID: 123, fkiCountryID: 123, sAddressZip: "sAddressZip_example", fAddressLongitude: "fAddressLongitude_example", fAddressLatitude: "fAddressLatitude_example")], aObjPhone: [phone-RequestCompound(pkiPhoneID: 123, fkiPhonetypeID: 123, ePhoneType: Field-ePhoneType(), sPhoneRegion: "sPhoneRegion_example", sPhoneExchange: "sPhoneExchange_example", sPhoneNumber: "sPhoneNumber_example", sPhoneInternational: "sPhoneInternational_example", sPhoneExtension: "sPhoneExtension_example", sPhoneE164: "sPhoneE164_example")], aObjEmail: [email-RequestCompound(pkiEmailID: 123, fkiEmailtypeID: 123, sEmailAddress: "sEmailAddress_example")], aObjWebsite: [website-RequestCompound(fkiWebsitetypeID: 123, sWebsiteAddress: "sWebsiteAddress_example")]))])]) // FranchisereferalincomeCreateObjectV2Request |
// Create a new Franchisereferalincome
ObjectFranchisereferalincomeAPI.franchisereferalincomeCreateObjectV2(franchisereferalincomeCreateObjectV2Request: franchisereferalincomeCreateObjectV2Request) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
franchisereferalincomeCreateObjectV2Request | FranchisereferalincomeCreateObjectV2Request |
FranchisereferalincomeCreateObjectV2Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]