swagger.json 338 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "produces": [
  359. "application/json"
  360. ],
  361. "tags": [
  362. "通用服务"
  363. ],
  364. "summary": "获取所有枚举信息",
  365. "responses": {
  366. "200": {
  367. "description": "OK",
  368. "schema": {
  369. "$ref": "#/definitions/models.Enumdicitem"
  370. }
  371. },
  372. "500": {
  373. "description": "Internal Server Error",
  374. "schema": {
  375. "$ref": "#/definitions/app.Response"
  376. }
  377. }
  378. }
  379. }
  380. },
  381. "/Common/NoticeReaded": {
  382. "post": {
  383. "security": [
  384. {
  385. "ApiKeyAuth": []
  386. }
  387. ],
  388. "produces": [
  389. "application/json"
  390. ],
  391. "tags": [
  392. "通用服务"
  393. ],
  394. "summary": "通知公告设置已读请求",
  395. "parameters": [
  396. {
  397. "type": "integer",
  398. "description": "登录账号",
  399. "name": "loginID",
  400. "in": "query",
  401. "required": true
  402. },
  403. {
  404. "type": "integer",
  405. "description": "通知公告ID",
  406. "name": "noticeID",
  407. "in": "query",
  408. "required": true
  409. }
  410. ],
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/app.Response"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/QueryImageConfigs": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "查询轮播图配置信息",
  436. "parameters": [
  437. {
  438. "type": "integer",
  439. "description": "类型 - 1:App首页轮播 2:我的",
  440. "name": "imageType",
  441. "in": "query"
  442. }
  443. ],
  444. "responses": {
  445. "200": {
  446. "description": "OK",
  447. "schema": {
  448. "$ref": "#/definitions/models.Szdz2imageconfig"
  449. }
  450. },
  451. "500": {
  452. "description": "Internal Server Error",
  453. "schema": {
  454. "$ref": "#/definitions/app.Response"
  455. }
  456. }
  457. }
  458. }
  459. },
  460. "/Common/QueryNotice": {
  461. "get": {
  462. "security": [
  463. {
  464. "ApiKeyAuth": []
  465. }
  466. ],
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "通知公告系统消息查询",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "页码",
  478. "name": "page",
  479. "in": "query"
  480. },
  481. {
  482. "type": "integer",
  483. "description": "每页条数",
  484. "name": "pagesize",
  485. "in": "query"
  486. },
  487. {
  488. "type": "integer",
  489. "description": "登录账号",
  490. "name": "loginID",
  491. "in": "query",
  492. "required": true
  493. },
  494. {
  495. "type": "integer",
  496. "description": "消息类型 - 1:公告通知 2:系统消息",
  497. "name": "msgType",
  498. "in": "query"
  499. },
  500. {
  501. "type": "boolean",
  502. "description": "是否只获取未读信息",
  503. "name": "onlyUnRead",
  504. "in": "query"
  505. }
  506. ],
  507. "responses": {
  508. "200": {
  509. "description": "OK",
  510. "schema": {
  511. "$ref": "#/definitions/common.QueryNoticeRsp"
  512. }
  513. },
  514. "500": {
  515. "description": "Internal Server Error",
  516. "schema": {
  517. "$ref": "#/definitions/app.Response"
  518. }
  519. }
  520. }
  521. }
  522. },
  523. "/Common/QueryProvincesAndCities": {
  524. "get": {
  525. "produces": [
  526. "application/json"
  527. ],
  528. "tags": [
  529. "通用服务"
  530. ],
  531. "summary": "查询省市信息(不包括区)",
  532. "parameters": [
  533. {
  534. "type": "integer",
  535. "description": "省ID",
  536. "name": "provinceID",
  537. "in": "query"
  538. }
  539. ],
  540. "responses": {
  541. "200": {
  542. "description": "OK",
  543. "schema": {
  544. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  545. }
  546. },
  547. "500": {
  548. "description": "Internal Server Error",
  549. "schema": {
  550. "$ref": "#/definitions/app.Response"
  551. }
  552. }
  553. }
  554. }
  555. },
  556. "/Common/QueryTableDefine": {
  557. "get": {
  558. "produces": [
  559. "application/json"
  560. ],
  561. "tags": [
  562. "通用服务"
  563. ],
  564. "summary": "查询交易端列表头信息",
  565. "parameters": [
  566. {
  567. "type": "string",
  568. "description": "表key",
  569. "name": "TableKey",
  570. "in": "query"
  571. }
  572. ],
  573. "responses": {
  574. "200": {
  575. "description": "OK",
  576. "schema": {
  577. "$ref": "#/definitions/common.QueryTableDefineRsp"
  578. }
  579. },
  580. "500": {
  581. "description": "Internal Server Error",
  582. "schema": {
  583. "$ref": "#/definitions/app.Response"
  584. }
  585. }
  586. }
  587. }
  588. },
  589. "/Common/QueryTraderMenu": {
  590. "get": {
  591. "produces": [
  592. "application/json"
  593. ],
  594. "tags": [
  595. "通用服务"
  596. ],
  597. "summary": "查询交易端菜单",
  598. "parameters": [
  599. {
  600. "type": "integer",
  601. "description": "登录账号",
  602. "name": "loginid",
  603. "in": "query",
  604. "required": true
  605. }
  606. ],
  607. "responses": {
  608. "200": {
  609. "description": "OK",
  610. "schema": {
  611. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  612. }
  613. },
  614. "500": {
  615. "description": "Internal Server Error",
  616. "schema": {
  617. "$ref": "#/definitions/app.Response"
  618. }
  619. }
  620. }
  621. }
  622. },
  623. "/Delivery/QueryDeliveryRelation": {
  624. "get": {
  625. "security": [
  626. {
  627. "ApiKeyAuth": []
  628. }
  629. ],
  630. "produces": [
  631. "application/json"
  632. ],
  633. "tags": [
  634. "交割服务"
  635. ],
  636. "summary": "查询商品交割关系表",
  637. "parameters": [
  638. {
  639. "type": "integer",
  640. "description": "商品ID",
  641. "name": "goodsid",
  642. "in": "query"
  643. },
  644. {
  645. "type": "integer",
  646. "description": "品种ID",
  647. "name": "deliverygoodsid",
  648. "in": "query"
  649. },
  650. {
  651. "type": "integer",
  652. "description": "市场ID",
  653. "name": "marketid",
  654. "in": "query"
  655. }
  656. ],
  657. "responses": {
  658. "200": {
  659. "description": "OK",
  660. "schema": {
  661. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  662. }
  663. },
  664. "500": {
  665. "description": "Internal Server Error",
  666. "schema": {
  667. "$ref": "#/definitions/app.Response"
  668. }
  669. }
  670. }
  671. }
  672. },
  673. "/Erms2/QueryArbitrageStrategy": {
  674. "get": {
  675. "security": [
  676. {
  677. "ApiKeyAuth": []
  678. }
  679. ],
  680. "produces": [
  681. "application/json"
  682. ],
  683. "tags": [
  684. "风险管理"
  685. ],
  686. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  687. "parameters": [
  688. {
  689. "type": "integer",
  690. "description": "账户ID",
  691. "name": "userid",
  692. "in": "query",
  693. "required": true
  694. },
  695. {
  696. "type": "string",
  697. "description": "商品组ID(品种ID)",
  698. "name": "goodsgroupid",
  699. "in": "query"
  700. }
  701. ],
  702. "responses": {
  703. "200": {
  704. "description": "OK",
  705. "schema": {
  706. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  707. }
  708. },
  709. "500": {
  710. "description": "Internal Server Error",
  711. "schema": {
  712. "$ref": "#/definitions/app.Response"
  713. }
  714. }
  715. }
  716. }
  717. },
  718. "/Erms2/QueryInnerTradeDetail": {
  719. "get": {
  720. "security": [
  721. {
  722. "ApiKeyAuth": []
  723. }
  724. ],
  725. "produces": [
  726. "application/json"
  727. ],
  728. "tags": [
  729. "风险管理"
  730. ],
  731. "summary": "查询内部成交单信息",
  732. "parameters": [
  733. {
  734. "type": "integer",
  735. "description": "资金账户",
  736. "name": "accountid",
  737. "in": "query",
  738. "required": true
  739. }
  740. ],
  741. "responses": {
  742. "200": {
  743. "description": "OK",
  744. "schema": {
  745. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  746. }
  747. },
  748. "500": {
  749. "description": "Internal Server Error",
  750. "schema": {
  751. "$ref": "#/definitions/app.Response"
  752. }
  753. }
  754. }
  755. }
  756. },
  757. "/Erms2/QuerySpotContract": {
  758. "get": {
  759. "security": [
  760. {
  761. "ApiKeyAuth": []
  762. }
  763. ],
  764. "produces": [
  765. "application/json"
  766. ],
  767. "tags": [
  768. "风险管理"
  769. ],
  770. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  771. "parameters": [
  772. {
  773. "type": "integer",
  774. "description": "策略申请ID",
  775. "name": "asapplyid",
  776. "in": "query",
  777. "required": true
  778. },
  779. {
  780. "type": "integer",
  781. "description": "现货合同ID",
  782. "name": "spotcontractid",
  783. "in": "query"
  784. }
  785. ],
  786. "responses": {
  787. "200": {
  788. "description": "OK",
  789. "schema": {
  790. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  791. }
  792. },
  793. "500": {
  794. "description": "Internal Server Error",
  795. "schema": {
  796. "$ref": "#/definitions/app.Response"
  797. }
  798. }
  799. }
  800. }
  801. },
  802. "/Erms3/AddSpotContractApply": {
  803. "post": {
  804. "security": [
  805. {
  806. "ApiKeyAuth": []
  807. }
  808. ],
  809. "produces": [
  810. "application/json"
  811. ],
  812. "tags": [
  813. "风险管理v3"
  814. ],
  815. "summary": "新增现货合同申请",
  816. "parameters": [
  817. {
  818. "description": "申请参数",
  819. "name": "jsonBody",
  820. "in": "body",
  821. "required": true,
  822. "schema": {
  823. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  824. }
  825. }
  826. ],
  827. "responses": {
  828. "200": {
  829. "description": "OK",
  830. "schema": {
  831. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  832. }
  833. },
  834. "500": {
  835. "description": "Internal Server Error",
  836. "schema": {
  837. "$ref": "#/definitions/app.Response"
  838. }
  839. }
  840. }
  841. }
  842. },
  843. "/Erms3/AddUserInfoApply": {
  844. "post": {
  845. "security": [
  846. {
  847. "ApiKeyAuth": []
  848. }
  849. ],
  850. "produces": [
  851. "application/json"
  852. ],
  853. "tags": [
  854. "风险管理v3"
  855. ],
  856. "summary": "新增客户申请",
  857. "parameters": [
  858. {
  859. "description": "申请参数",
  860. "name": "jsonBody",
  861. "in": "body",
  862. "required": true,
  863. "schema": {
  864. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  865. }
  866. }
  867. ],
  868. "responses": {
  869. "200": {
  870. "description": "OK",
  871. "schema": {
  872. "$ref": "#/definitions/app.Response"
  873. }
  874. },
  875. "500": {
  876. "description": "Internal Server Error",
  877. "schema": {
  878. "$ref": "#/definitions/app.Response"
  879. }
  880. }
  881. }
  882. }
  883. },
  884. "/Erms3/QueryBusinessInfo": {
  885. "get": {
  886. "security": [
  887. {
  888. "ApiKeyAuth": []
  889. }
  890. ],
  891. "produces": [
  892. "application/json"
  893. ],
  894. "tags": [
  895. "风险管理v3"
  896. ],
  897. "summary": "查询业务表单数据",
  898. "parameters": [
  899. {
  900. "type": "string",
  901. "description": "资金账号ID列表,用逗号分隔",
  902. "name": "accountids",
  903. "in": "query",
  904. "required": true
  905. },
  906. {
  907. "type": "integer",
  908. "description": "状态,0为未结束 1为已结束",
  909. "name": "status",
  910. "in": "query",
  911. "required": true
  912. }
  913. ],
  914. "responses": {
  915. "200": {
  916. "description": "OK",
  917. "schema": {
  918. "type": "array",
  919. "items": {
  920. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  921. }
  922. }
  923. },
  924. "500": {
  925. "description": "Internal Server Error",
  926. "schema": {
  927. "$ref": "#/definitions/app.Response"
  928. }
  929. }
  930. }
  931. }
  932. },
  933. "/Erms3/QueryPendingAuditContract": {
  934. "get": {
  935. "security": [
  936. {
  937. "ApiKeyAuth": []
  938. }
  939. ],
  940. "produces": [
  941. "application/json"
  942. ],
  943. "tags": [
  944. "风险管理v3"
  945. ],
  946. "summary": "查询待审核合同",
  947. "parameters": [
  948. {
  949. "type": "string",
  950. "description": "资金账号ID列表,逗号隔开",
  951. "name": "accountids",
  952. "in": "query",
  953. "required": true
  954. },
  955. {
  956. "type": "integer",
  957. "description": "合同类型 1-采购 -1-销售",
  958. "name": "contracttype",
  959. "in": "query",
  960. "required": true
  961. },
  962. {
  963. "type": "integer",
  964. "description": "合同模式 1-普通 2-回购",
  965. "name": "contractmode",
  966. "in": "query",
  967. "required": true
  968. }
  969. ],
  970. "responses": {
  971. "200": {
  972. "description": "OK",
  973. "schema": {
  974. "type": "array",
  975. "items": {
  976. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  977. }
  978. }
  979. },
  980. "500": {
  981. "description": "Internal Server Error",
  982. "schema": {
  983. "$ref": "#/definitions/app.Response"
  984. }
  985. }
  986. }
  987. }
  988. },
  989. "/Erms3/QueryPendingBusiness": {
  990. "get": {
  991. "security": [
  992. {
  993. "ApiKeyAuth": []
  994. }
  995. ],
  996. "produces": [
  997. "application/json"
  998. ],
  999. "tags": [
  1000. "风险管理v3"
  1001. ],
  1002. "summary": "查询待审核基差贸易业务",
  1003. "parameters": [
  1004. {
  1005. "type": "string",
  1006. "description": "资金账号ID列表,逗号隔开",
  1007. "name": "accountids",
  1008. "in": "query",
  1009. "required": true
  1010. }
  1011. ],
  1012. "responses": {
  1013. "200": {
  1014. "description": "OK",
  1015. "schema": {
  1016. "type": "array",
  1017. "items": {
  1018. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1019. }
  1020. }
  1021. },
  1022. "500": {
  1023. "description": "Internal Server Error",
  1024. "schema": {
  1025. "$ref": "#/definitions/app.Response"
  1026. }
  1027. }
  1028. }
  1029. }
  1030. },
  1031. "/Erms3/QuerySpotContractAppleForm": {
  1032. "get": {
  1033. "security": [
  1034. {
  1035. "ApiKeyAuth": []
  1036. }
  1037. ],
  1038. "produces": [
  1039. "application/json"
  1040. ],
  1041. "tags": [
  1042. "风险管理v3"
  1043. ],
  1044. "summary": "查询合同申请表单数据",
  1045. "parameters": [
  1046. {
  1047. "type": "integer",
  1048. "description": "登录账号",
  1049. "name": "loginID",
  1050. "in": "query",
  1051. "required": true
  1052. }
  1053. ],
  1054. "responses": {
  1055. "200": {
  1056. "description": "OK",
  1057. "schema": {
  1058. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1059. }
  1060. },
  1061. "500": {
  1062. "description": "Internal Server Error",
  1063. "schema": {
  1064. "$ref": "#/definitions/app.Response"
  1065. }
  1066. }
  1067. }
  1068. }
  1069. },
  1070. "/Erms3/QuerySpotContractDetail": {
  1071. "get": {
  1072. "security": [
  1073. {
  1074. "ApiKeyAuth": []
  1075. }
  1076. ],
  1077. "produces": [
  1078. "application/json"
  1079. ],
  1080. "tags": [
  1081. "风险管理v3"
  1082. ],
  1083. "summary": "查询合同详细信息",
  1084. "parameters": [
  1085. {
  1086. "type": "string",
  1087. "description": "资金账号ID列表,用逗号分隔",
  1088. "name": "accountids",
  1089. "in": "query",
  1090. "required": true
  1091. },
  1092. {
  1093. "type": "integer",
  1094. "description": "合同类型,1为采购合同 -1为销售合同",
  1095. "name": "contracttype",
  1096. "in": "query",
  1097. "required": true
  1098. },
  1099. {
  1100. "type": "integer",
  1101. "description": "合同模式,1为普通合同 2为回购销售合同",
  1102. "name": "contractmode",
  1103. "in": "query",
  1104. "required": true
  1105. },
  1106. {
  1107. "type": "integer",
  1108. "description": "状态,0为履约中 1为已完成",
  1109. "name": "status",
  1110. "in": "query",
  1111. "required": true
  1112. }
  1113. ],
  1114. "responses": {
  1115. "200": {
  1116. "description": "OK",
  1117. "schema": {
  1118. "type": "array",
  1119. "items": {
  1120. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1121. }
  1122. }
  1123. },
  1124. "500": {
  1125. "description": "Internal Server Error",
  1126. "schema": {
  1127. "$ref": "#/definitions/app.Response"
  1128. }
  1129. }
  1130. }
  1131. }
  1132. },
  1133. "/Erms3/QueryUserInfoApplies": {
  1134. "get": {
  1135. "security": [
  1136. {
  1137. "ApiKeyAuth": []
  1138. }
  1139. ],
  1140. "produces": [
  1141. "application/json"
  1142. ],
  1143. "tags": [
  1144. "风险管理v3"
  1145. ],
  1146. "summary": "客户申请信息查询",
  1147. "parameters": [
  1148. {
  1149. "type": "integer",
  1150. "description": "页码",
  1151. "name": "page",
  1152. "in": "query"
  1153. },
  1154. {
  1155. "type": "integer",
  1156. "description": "每页条数",
  1157. "name": "pagesize",
  1158. "in": "query"
  1159. },
  1160. {
  1161. "type": "string",
  1162. "description": "客户名称,支持模糊查询",
  1163. "name": "userName",
  1164. "in": "query"
  1165. }
  1166. ],
  1167. "responses": {
  1168. "200": {
  1169. "description": "OK",
  1170. "schema": {
  1171. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1172. }
  1173. },
  1174. "500": {
  1175. "description": "Internal Server Error",
  1176. "schema": {
  1177. "$ref": "#/definitions/app.Response"
  1178. }
  1179. }
  1180. }
  1181. }
  1182. },
  1183. "/Erms3/QueryUserInfos": {
  1184. "get": {
  1185. "security": [
  1186. {
  1187. "ApiKeyAuth": []
  1188. }
  1189. ],
  1190. "produces": [
  1191. "application/json"
  1192. ],
  1193. "tags": [
  1194. "风险管理v3"
  1195. ],
  1196. "summary": "客户信息查询",
  1197. "parameters": [
  1198. {
  1199. "type": "integer",
  1200. "description": "页码",
  1201. "name": "page",
  1202. "in": "query"
  1203. },
  1204. {
  1205. "type": "integer",
  1206. "description": "每页条数",
  1207. "name": "pagesize",
  1208. "in": "query"
  1209. },
  1210. {
  1211. "type": "string",
  1212. "description": "客户名称,支持模糊查询",
  1213. "name": "userName",
  1214. "in": "query"
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1222. }
  1223. },
  1224. "500": {
  1225. "description": "Internal Server Error",
  1226. "schema": {
  1227. "$ref": "#/definitions/app.Response"
  1228. }
  1229. }
  1230. }
  1231. }
  1232. },
  1233. "/HSBY/GetHsbyMyCount": {
  1234. "get": {
  1235. "security": [
  1236. {
  1237. "ApiKeyAuth": []
  1238. }
  1239. ],
  1240. "description": "说明: 不包括已完成的数量。",
  1241. "produces": [
  1242. "application/json"
  1243. ],
  1244. "tags": [
  1245. "定制【海商报业】"
  1246. ],
  1247. "summary": "获取我的订单与包裹数量",
  1248. "parameters": [
  1249. {
  1250. "type": "string",
  1251. "description": "资金账户列表,格式:1,2,3",
  1252. "name": "accountIDs",
  1253. "in": "query",
  1254. "required": true
  1255. }
  1256. ],
  1257. "responses": {
  1258. "200": {
  1259. "description": "OK",
  1260. "schema": {
  1261. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1262. }
  1263. },
  1264. "500": {
  1265. "description": "Internal Server Error",
  1266. "schema": {
  1267. "$ref": "#/definitions/app.Response"
  1268. }
  1269. }
  1270. }
  1271. }
  1272. },
  1273. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1274. "get": {
  1275. "security": [
  1276. {
  1277. "ApiKeyAuth": []
  1278. }
  1279. ],
  1280. "produces": [
  1281. "application/json"
  1282. ],
  1283. "tags": [
  1284. "定制【海商报业】"
  1285. ],
  1286. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1287. "parameters": [
  1288. {
  1289. "type": "integer",
  1290. "description": "页码",
  1291. "name": "page",
  1292. "in": "query"
  1293. },
  1294. {
  1295. "type": "integer",
  1296. "description": "每页条数",
  1297. "name": "pagesize",
  1298. "in": "query"
  1299. },
  1300. {
  1301. "type": "string",
  1302. "description": "资金账户列表,格式:1,2,3",
  1303. "name": "accountIDs",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1313. }
  1314. },
  1315. "500": {
  1316. "description": "Internal Server Error",
  1317. "schema": {
  1318. "$ref": "#/definitions/app.Response"
  1319. }
  1320. }
  1321. }
  1322. }
  1323. },
  1324. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1325. "get": {
  1326. "security": [
  1327. {
  1328. "ApiKeyAuth": []
  1329. }
  1330. ],
  1331. "description": "说明:查询结果已按委托价格和委托时间排序",
  1332. "produces": [
  1333. "application/json"
  1334. ],
  1335. "tags": [
  1336. "定制【海商报业】"
  1337. ],
  1338. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1339. "parameters": [
  1340. {
  1341. "type": "integer",
  1342. "description": "商品ID",
  1343. "name": "goodsID",
  1344. "in": "query",
  1345. "required": true
  1346. },
  1347. {
  1348. "type": "string",
  1349. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1350. "name": "accountIDs",
  1351. "in": "query",
  1352. "required": true
  1353. },
  1354. {
  1355. "type": "integer",
  1356. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1357. "name": "buyOrSell",
  1358. "in": "query"
  1359. },
  1360. {
  1361. "type": "number",
  1362. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1363. "name": "price",
  1364. "in": "query"
  1365. },
  1366. {
  1367. "type": "integer",
  1368. "description": "档位,不传则默认为3档",
  1369. "name": "speed",
  1370. "in": "query"
  1371. }
  1372. ],
  1373. "responses": {
  1374. "200": {
  1375. "description": "OK",
  1376. "schema": {
  1377. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1378. }
  1379. },
  1380. "500": {
  1381. "description": "Internal Server Error",
  1382. "schema": {
  1383. "$ref": "#/definitions/app.Response"
  1384. }
  1385. }
  1386. }
  1387. }
  1388. },
  1389. "/HSBY/QueryHsbyListingGoodsDetail": {
  1390. "get": {
  1391. "security": [
  1392. {
  1393. "ApiKeyAuth": []
  1394. }
  1395. ],
  1396. "produces": [
  1397. "application/json"
  1398. ],
  1399. "tags": [
  1400. "定制【海商报业】"
  1401. ],
  1402. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1403. "parameters": [
  1404. {
  1405. "type": "integer",
  1406. "description": "商品ID",
  1407. "name": "goodsID",
  1408. "in": "query",
  1409. "required": true
  1410. },
  1411. {
  1412. "type": "integer",
  1413. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1414. "name": "AccountID",
  1415. "in": "query"
  1416. }
  1417. ],
  1418. "responses": {
  1419. "200": {
  1420. "description": "OK",
  1421. "schema": {
  1422. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1423. }
  1424. },
  1425. "500": {
  1426. "description": "Internal Server Error",
  1427. "schema": {
  1428. "$ref": "#/definitions/app.Response"
  1429. }
  1430. }
  1431. }
  1432. }
  1433. },
  1434. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1435. "get": {
  1436. "security": [
  1437. {
  1438. "ApiKeyAuth": []
  1439. }
  1440. ],
  1441. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "定制【海商报业】"
  1447. ],
  1448. "summary": "查询“我的订单”信息",
  1449. "parameters": [
  1450. {
  1451. "type": "string",
  1452. "description": "资金账户列表,格式:1,2,3",
  1453. "name": "accountIDs",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1460. "name": "myBuyStatus",
  1461. "in": "query"
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "OK",
  1467. "schema": {
  1468. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1469. }
  1470. },
  1471. "500": {
  1472. "description": "Internal Server Error",
  1473. "schema": {
  1474. "$ref": "#/definitions/app.Response"
  1475. }
  1476. }
  1477. }
  1478. }
  1479. },
  1480. "/HSBY/QueryHsbyMyGoods": {
  1481. "get": {
  1482. "security": [
  1483. {
  1484. "ApiKeyAuth": []
  1485. }
  1486. ],
  1487. "produces": [
  1488. "application/json"
  1489. ],
  1490. "tags": [
  1491. "定制【海商报业】"
  1492. ],
  1493. "summary": "查询“我的商品”信息",
  1494. "parameters": [
  1495. {
  1496. "type": "string",
  1497. "description": "资金账户列表,格式:1,2,3",
  1498. "name": "accountIDs",
  1499. "in": "query",
  1500. "required": true
  1501. }
  1502. ],
  1503. "responses": {
  1504. "200": {
  1505. "description": "OK",
  1506. "schema": {
  1507. "$ref": "#/definitions/models.HsbyMyGoods"
  1508. }
  1509. },
  1510. "500": {
  1511. "description": "Internal Server Error",
  1512. "schema": {
  1513. "$ref": "#/definitions/app.Response"
  1514. }
  1515. }
  1516. }
  1517. }
  1518. },
  1519. "/HSBY/QueryHsbyMyPackages": {
  1520. "get": {
  1521. "security": [
  1522. {
  1523. "ApiKeyAuth": []
  1524. }
  1525. ],
  1526. "produces": [
  1527. "application/json"
  1528. ],
  1529. "tags": [
  1530. "定制【海商报业】"
  1531. ],
  1532. "summary": "查询我的包裹信息",
  1533. "parameters": [
  1534. {
  1535. "type": "string",
  1536. "description": "资金账户列表,格式:1,2,3",
  1537. "name": "accountIDs",
  1538. "in": "query",
  1539. "required": true
  1540. },
  1541. {
  1542. "type": "integer",
  1543. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1544. "name": "takeOrderStatus",
  1545. "in": "query"
  1546. }
  1547. ],
  1548. "responses": {
  1549. "200": {
  1550. "description": "OK",
  1551. "schema": {
  1552. "$ref": "#/definitions/models.HsbyMyPackage"
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/HSBY/QueryHsbyPreGoodsDetail": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "定制【海商报业】"
  1576. ],
  1577. "summary": "查询一级市场(产能预售)商品信息详情",
  1578. "parameters": [
  1579. {
  1580. "type": "integer",
  1581. "description": "商品ID",
  1582. "name": "goodsID",
  1583. "in": "query",
  1584. "required": true
  1585. },
  1586. {
  1587. "type": "integer",
  1588. "description": "资金账户,主要用于获取预售商品购买上限",
  1589. "name": "accountID",
  1590. "in": "query",
  1591. "required": true
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/HSBY/QueryHsbyPreGoodses": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1618. "produces": [
  1619. "application/json"
  1620. ],
  1621. "tags": [
  1622. "定制【海商报业】"
  1623. ],
  1624. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1625. "parameters": [
  1626. {
  1627. "type": "integer",
  1628. "description": "页码",
  1629. "name": "page",
  1630. "in": "query"
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "每页条数",
  1635. "name": "pagesize",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "市场ID列表,格式:1,2,3",
  1641. "name": "marketIDs",
  1642. "in": "query",
  1643. "required": true
  1644. },
  1645. {
  1646. "type": "integer",
  1647. "description": "目的地(省)ID",
  1648. "name": "descProvinceID",
  1649. "in": "query"
  1650. },
  1651. {
  1652. "type": "integer",
  1653. "description": "目的地(市)ID",
  1654. "name": "descCityID",
  1655. "in": "query"
  1656. }
  1657. ],
  1658. "responses": {
  1659. "200": {
  1660. "description": "OK",
  1661. "schema": {
  1662. "$ref": "#/definitions/models.HsbyPreGoods"
  1663. }
  1664. },
  1665. "500": {
  1666. "description": "Internal Server Error",
  1667. "schema": {
  1668. "$ref": "#/definitions/app.Response"
  1669. }
  1670. }
  1671. }
  1672. }
  1673. },
  1674. "/HSBY/QueryHsbySellMyDetails": {
  1675. "get": {
  1676. "security": [
  1677. {
  1678. "ApiKeyAuth": []
  1679. }
  1680. ],
  1681. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "定制【海商报业】"
  1687. ],
  1688. "summary": "查询\"我的闲置\"单据信息",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "页码",
  1693. "name": "page",
  1694. "in": "query"
  1695. },
  1696. {
  1697. "type": "integer",
  1698. "description": "每页条数",
  1699. "name": "pagesize",
  1700. "in": "query"
  1701. },
  1702. {
  1703. "type": "string",
  1704. "description": "资金账户列表,格式:1,2,3",
  1705. "name": "accountIDs",
  1706. "in": "query",
  1707. "required": true
  1708. },
  1709. {
  1710. "type": "integer",
  1711. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1712. "name": "orderType",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "$ref": "#/definitions/models.HsbySellMyDetail"
  1721. }
  1722. },
  1723. "500": {
  1724. "description": "Internal Server Error",
  1725. "schema": {
  1726. "$ref": "#/definitions/app.Response"
  1727. }
  1728. }
  1729. }
  1730. }
  1731. },
  1732. "/HSBY/QueryHsbyTopGoodses": {
  1733. "get": {
  1734. "security": [
  1735. {
  1736. "ApiKeyAuth": []
  1737. }
  1738. ],
  1739. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1740. "produces": [
  1741. "application/json"
  1742. ],
  1743. "tags": [
  1744. "定制【海商报业】"
  1745. ],
  1746. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1747. "parameters": [
  1748. {
  1749. "type": "integer",
  1750. "description": "页码",
  1751. "name": "page",
  1752. "in": "query"
  1753. },
  1754. {
  1755. "type": "integer",
  1756. "description": "每页条数",
  1757. "name": "pagesize",
  1758. "in": "query"
  1759. },
  1760. {
  1761. "type": "string",
  1762. "description": "市场ID列表,格式:1,2,3",
  1763. "name": "marketIDs",
  1764. "in": "query",
  1765. "required": true
  1766. },
  1767. {
  1768. "type": "integer",
  1769. "description": "目的地(省)ID",
  1770. "name": "descProvinceID",
  1771. "in": "query"
  1772. },
  1773. {
  1774. "type": "integer",
  1775. "description": "目的地(市)ID",
  1776. "name": "descCityID",
  1777. "in": "query"
  1778. }
  1779. ],
  1780. "responses": {
  1781. "200": {
  1782. "description": "OK",
  1783. "schema": {
  1784. "$ref": "#/definitions/models.HsbyTopGoods"
  1785. }
  1786. },
  1787. "500": {
  1788. "description": "Internal Server Error",
  1789. "schema": {
  1790. "$ref": "#/definitions/app.Response"
  1791. }
  1792. }
  1793. }
  1794. }
  1795. },
  1796. "/HSBY/QueryProvincesAndCities": {
  1797. "get": {
  1798. "security": [
  1799. {
  1800. "ApiKeyAuth": []
  1801. }
  1802. ],
  1803. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1804. "produces": [
  1805. "application/json"
  1806. ],
  1807. "tags": [
  1808. "定制【海商报业】"
  1809. ],
  1810. "summary": "查询省市信息(不包括区)",
  1811. "parameters": [
  1812. {
  1813. "type": "integer",
  1814. "description": "省ID",
  1815. "name": "provinceID",
  1816. "in": "query"
  1817. }
  1818. ],
  1819. "responses": {
  1820. "200": {
  1821. "description": "OK",
  1822. "schema": {
  1823. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1824. }
  1825. },
  1826. "500": {
  1827. "description": "Internal Server Error",
  1828. "schema": {
  1829. "$ref": "#/definitions/app.Response"
  1830. }
  1831. }
  1832. }
  1833. }
  1834. },
  1835. "/HSBY/SetHsbyMyPackagesStatus": {
  1836. "post": {
  1837. "security": [
  1838. {
  1839. "ApiKeyAuth": []
  1840. }
  1841. ],
  1842. "produces": [
  1843. "application/json"
  1844. ],
  1845. "tags": [
  1846. "定制【海商报业】"
  1847. ],
  1848. "summary": "设置我的包裹已收货状态",
  1849. "parameters": [
  1850. {
  1851. "type": "string",
  1852. "description": "提货单号",
  1853. "name": "takeOrderID",
  1854. "in": "query",
  1855. "required": true
  1856. },
  1857. {
  1858. "type": "integer",
  1859. "description": "资金账号",
  1860. "name": "accountID",
  1861. "in": "query",
  1862. "required": true
  1863. }
  1864. ],
  1865. "responses": {
  1866. "200": {
  1867. "description": "OK",
  1868. "schema": {
  1869. "$ref": "#/definitions/app.Response"
  1870. }
  1871. },
  1872. "500": {
  1873. "description": "Internal Server Error",
  1874. "schema": {
  1875. "$ref": "#/definitions/app.Response"
  1876. }
  1877. }
  1878. }
  1879. }
  1880. },
  1881. "/Order/QueryHisTradeDetail": {
  1882. "get": {
  1883. "security": [
  1884. {
  1885. "ApiKeyAuth": []
  1886. }
  1887. ],
  1888. "produces": [
  1889. "application/json"
  1890. ],
  1891. "tags": [
  1892. "通用单据"
  1893. ],
  1894. "summary": "历史成交单查询(合约市场)",
  1895. "parameters": [
  1896. {
  1897. "type": "string",
  1898. "description": "资金账户 - 格式:1,2,3",
  1899. "name": "accountID",
  1900. "in": "query",
  1901. "required": true
  1902. },
  1903. {
  1904. "type": "integer",
  1905. "description": "成交单号",
  1906. "name": "tradeID",
  1907. "in": "query"
  1908. },
  1909. {
  1910. "type": "integer",
  1911. "description": "委托单号",
  1912. "name": "orderID",
  1913. "in": "query"
  1914. },
  1915. {
  1916. "type": "string",
  1917. "description": "交易模式 - 格式:1,2,3",
  1918. "name": "tradeMode",
  1919. "in": "query"
  1920. },
  1921. {
  1922. "type": "integer",
  1923. "description": "委托单据类型",
  1924. "name": "buildType",
  1925. "in": "query"
  1926. },
  1927. {
  1928. "type": "string",
  1929. "description": "成交类别 - 格式:1,2,3",
  1930. "name": "tradeType",
  1931. "in": "query"
  1932. },
  1933. {
  1934. "type": "string",
  1935. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1936. "name": "startDate",
  1937. "in": "query"
  1938. },
  1939. {
  1940. "type": "string",
  1941. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1942. "name": "endDate",
  1943. "in": "query"
  1944. }
  1945. ],
  1946. "responses": {
  1947. "200": {
  1948. "description": "OK",
  1949. "schema": {
  1950. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1951. }
  1952. },
  1953. "500": {
  1954. "description": "Internal Server Error",
  1955. "schema": {
  1956. "$ref": "#/definitions/app.Response"
  1957. }
  1958. }
  1959. }
  1960. }
  1961. },
  1962. "/Order/QueryHisTradeOrderDetail": {
  1963. "get": {
  1964. "security": [
  1965. {
  1966. "ApiKeyAuth": []
  1967. }
  1968. ],
  1969. "produces": [
  1970. "application/json"
  1971. ],
  1972. "tags": [
  1973. "通用单据"
  1974. ],
  1975. "summary": "历史委托单查询请求(合约市场)",
  1976. "parameters": [
  1977. {
  1978. "type": "string",
  1979. "description": "资金账户 - 格式:1,2,3",
  1980. "name": "accountID",
  1981. "in": "query",
  1982. "required": true
  1983. },
  1984. {
  1985. "type": "string",
  1986. "description": "交易模式 - 格式:1,2,3",
  1987. "name": "tradeMode",
  1988. "in": "query"
  1989. },
  1990. {
  1991. "type": "string",
  1992. "description": "委托状态 - 格式:1,2,3",
  1993. "name": "orderStatus",
  1994. "in": "query"
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "委托单号",
  1999. "name": "orderID",
  2000. "in": "query"
  2001. },
  2002. {
  2003. "type": "string",
  2004. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2005. "name": "startDate",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2011. "name": "endDate",
  2012. "in": "query"
  2013. }
  2014. ],
  2015. "responses": {
  2016. "200": {
  2017. "description": "OK",
  2018. "schema": {
  2019. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2020. }
  2021. },
  2022. "500": {
  2023. "description": "Internal Server Error",
  2024. "schema": {
  2025. "$ref": "#/definitions/app.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/Order/QueryTradeDetail": {
  2032. "get": {
  2033. "security": [
  2034. {
  2035. "ApiKeyAuth": []
  2036. }
  2037. ],
  2038. "produces": [
  2039. "application/json"
  2040. ],
  2041. "tags": [
  2042. "通用单据"
  2043. ],
  2044. "summary": "成交单查询(合约市场)",
  2045. "parameters": [
  2046. {
  2047. "type": "string",
  2048. "description": "资金账户 - 格式:1,2,3",
  2049. "name": "accountID",
  2050. "in": "query",
  2051. "required": true
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "成交单号",
  2056. "name": "tradeID",
  2057. "in": "query"
  2058. },
  2059. {
  2060. "type": "integer",
  2061. "description": "委托单号",
  2062. "name": "orderID",
  2063. "in": "query"
  2064. },
  2065. {
  2066. "type": "string",
  2067. "description": "交易模式 - 格式:1,2,3",
  2068. "name": "tradeMode",
  2069. "in": "query"
  2070. },
  2071. {
  2072. "type": "integer",
  2073. "description": "委托单据类型",
  2074. "name": "buildType",
  2075. "in": "query"
  2076. },
  2077. {
  2078. "type": "string",
  2079. "description": "成交类别 - 格式:1,2,3",
  2080. "name": "tradeType",
  2081. "in": "query"
  2082. }
  2083. ],
  2084. "responses": {
  2085. "200": {
  2086. "description": "OK",
  2087. "schema": {
  2088. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2089. }
  2090. },
  2091. "500": {
  2092. "description": "Internal Server Error",
  2093. "schema": {
  2094. "$ref": "#/definitions/app.Response"
  2095. }
  2096. }
  2097. }
  2098. }
  2099. },
  2100. "/Order/QueryTradeOrderDetail": {
  2101. "get": {
  2102. "security": [
  2103. {
  2104. "ApiKeyAuth": []
  2105. }
  2106. ],
  2107. "produces": [
  2108. "application/json"
  2109. ],
  2110. "tags": [
  2111. "通用单据"
  2112. ],
  2113. "summary": "委托单查询请求(合约市场)",
  2114. "parameters": [
  2115. {
  2116. "type": "string",
  2117. "description": "资金账户 - 格式:1,2,3",
  2118. "name": "accountID",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "string",
  2124. "description": "交易模式 - 格式:1,2,3",
  2125. "name": "tradeMode",
  2126. "in": "query"
  2127. },
  2128. {
  2129. "type": "string",
  2130. "description": "委托状态 - 格式:1,2,3",
  2131. "name": "orderStatus",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "委托单号",
  2137. "name": "orderID",
  2138. "in": "query"
  2139. }
  2140. ],
  2141. "responses": {
  2142. "200": {
  2143. "description": "OK",
  2144. "schema": {
  2145. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2146. }
  2147. },
  2148. "500": {
  2149. "description": "Internal Server Error",
  2150. "schema": {
  2151. "$ref": "#/definitions/app.Response"
  2152. }
  2153. }
  2154. }
  2155. }
  2156. },
  2157. "/Order/QueryTradePosition": {
  2158. "get": {
  2159. "security": [
  2160. {
  2161. "ApiKeyAuth": []
  2162. }
  2163. ],
  2164. "produces": [
  2165. "application/json"
  2166. ],
  2167. "tags": [
  2168. "通用单据"
  2169. ],
  2170. "summary": "持仓汇总查询(合约市场)",
  2171. "parameters": [
  2172. {
  2173. "type": "string",
  2174. "description": "资金账户 - 格式:1,2,3",
  2175. "name": "accountID",
  2176. "in": "query",
  2177. "required": true
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "交易模式 - 格式:1,2,3",
  2182. "name": "tradeMode",
  2183. "in": "query"
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Internal Server Error",
  2195. "schema": {
  2196. "$ref": "#/definitions/app.Response"
  2197. }
  2198. }
  2199. }
  2200. }
  2201. },
  2202. "/Quote/QueryHistoryDatas": {
  2203. "get": {
  2204. "security": [
  2205. {
  2206. "ApiKeyAuth": []
  2207. }
  2208. ],
  2209. "produces": [
  2210. "application/json"
  2211. ],
  2212. "tags": [
  2213. "行情服务"
  2214. ],
  2215. "summary": "查询行情历史数据",
  2216. "parameters": [
  2217. {
  2218. "type": "integer",
  2219. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2220. "name": "cycleType",
  2221. "in": "query",
  2222. "required": true
  2223. },
  2224. {
  2225. "type": "string",
  2226. "description": "商品代码",
  2227. "name": "goodsCode",
  2228. "in": "query",
  2229. "required": true
  2230. },
  2231. {
  2232. "type": "string",
  2233. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2234. "name": "startTime",
  2235. "in": "query"
  2236. },
  2237. {
  2238. "type": "string",
  2239. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2240. "name": "endTime",
  2241. "in": "query"
  2242. },
  2243. {
  2244. "type": "integer",
  2245. "description": "条数",
  2246. "name": "count",
  2247. "in": "query"
  2248. },
  2249. {
  2250. "type": "boolean",
  2251. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2252. "name": "isAsc",
  2253. "in": "query"
  2254. }
  2255. ],
  2256. "responses": {
  2257. "200": {
  2258. "description": "OK",
  2259. "schema": {
  2260. "$ref": "#/definitions/quote.HistoryData"
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Quote/QueryTSData": {
  2273. "get": {
  2274. "produces": [
  2275. "application/json"
  2276. ],
  2277. "tags": [
  2278. "行情服务"
  2279. ],
  2280. "summary": "分时图数据查询",
  2281. "parameters": [
  2282. {
  2283. "type": "string",
  2284. "description": "商品代码",
  2285. "name": "GoodsCode",
  2286. "in": "query",
  2287. "required": true
  2288. }
  2289. ],
  2290. "responses": {
  2291. "200": {
  2292. "description": "OK",
  2293. "schema": {
  2294. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2295. }
  2296. },
  2297. "500": {
  2298. "description": "Internal Server Error",
  2299. "schema": {
  2300. "$ref": "#/definitions/app.Response"
  2301. }
  2302. }
  2303. }
  2304. }
  2305. },
  2306. "/SZDZ/QueryConvertConfig": {
  2307. "get": {
  2308. "security": [
  2309. {
  2310. "ApiKeyAuth": []
  2311. }
  2312. ],
  2313. "produces": [
  2314. "application/json"
  2315. ],
  2316. "tags": [
  2317. "定制【尚志大宗】"
  2318. ],
  2319. "summary": "查询交易系统转换设置",
  2320. "parameters": [
  2321. {
  2322. "type": "integer",
  2323. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2324. "name": "convertType",
  2325. "in": "query"
  2326. },
  2327. {
  2328. "type": "string",
  2329. "description": "外部商品代码[JD\\PD]",
  2330. "name": "outerGoodsCode",
  2331. "in": "query"
  2332. },
  2333. {
  2334. "type": "string",
  2335. "description": "内部商品ID列表[交易],格式:1,2,3",
  2336. "name": "innerGoodsIDs",
  2337. "in": "query"
  2338. }
  2339. ],
  2340. "responses": {
  2341. "200": {
  2342. "description": "OK",
  2343. "schema": {
  2344. "$ref": "#/definitions/models.Szdz3convertconfig"
  2345. }
  2346. },
  2347. "500": {
  2348. "description": "Internal Server Error",
  2349. "schema": {
  2350. "$ref": "#/definitions/app.Response"
  2351. }
  2352. }
  2353. }
  2354. }
  2355. },
  2356. "/SZDZ/QueryConvertLog": {
  2357. "get": {
  2358. "security": [
  2359. {
  2360. "ApiKeyAuth": []
  2361. }
  2362. ],
  2363. "produces": [
  2364. "application/json"
  2365. ],
  2366. "tags": [
  2367. "定制【尚志大宗】"
  2368. ],
  2369. "summary": "交易系统转换流水查询",
  2370. "parameters": [
  2371. {
  2372. "type": "string",
  2373. "description": "资金账户 - 格式:1,2,3",
  2374. "name": "accountID",
  2375. "in": "query",
  2376. "required": true
  2377. },
  2378. {
  2379. "type": "string",
  2380. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2381. "name": "startDate",
  2382. "in": "query"
  2383. },
  2384. {
  2385. "type": "string",
  2386. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2387. "name": "endDate",
  2388. "in": "query"
  2389. }
  2390. ],
  2391. "responses": {
  2392. "200": {
  2393. "description": "OK",
  2394. "schema": {
  2395. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2396. }
  2397. },
  2398. "500": {
  2399. "description": "Internal Server Error",
  2400. "schema": {
  2401. "$ref": "#/definitions/app.Response"
  2402. }
  2403. }
  2404. }
  2405. }
  2406. },
  2407. "/SZDZ/QueryGoodsPickup": {
  2408. "get": {
  2409. "security": [
  2410. {
  2411. "ApiKeyAuth": []
  2412. }
  2413. ],
  2414. "produces": [
  2415. "application/json"
  2416. ],
  2417. "tags": [
  2418. "定制【尚志大宗】"
  2419. ],
  2420. "summary": "商品提货单查询",
  2421. "parameters": [
  2422. {
  2423. "type": "string",
  2424. "description": "资金账户 - 格式:1,2,3",
  2425. "name": "accountID",
  2426. "in": "query",
  2427. "required": true
  2428. },
  2429. {
  2430. "type": "integer",
  2431. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2432. "name": "takeOrderStatus",
  2433. "in": "query"
  2434. }
  2435. ],
  2436. "responses": {
  2437. "200": {
  2438. "description": "OK",
  2439. "schema": {
  2440. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2441. }
  2442. },
  2443. "500": {
  2444. "description": "Internal Server Error",
  2445. "schema": {
  2446. "$ref": "#/definitions/app.Response"
  2447. }
  2448. }
  2449. }
  2450. }
  2451. },
  2452. "/SZDZ/QueryRecieptOrder": {
  2453. "get": {
  2454. "security": [
  2455. {
  2456. "ApiKeyAuth": []
  2457. }
  2458. ],
  2459. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2460. "produces": [
  2461. "application/json"
  2462. ],
  2463. "tags": [
  2464. "定制【尚志大宗】"
  2465. ],
  2466. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2467. "parameters": [
  2468. {
  2469. "type": "integer",
  2470. "description": "页码",
  2471. "name": "page",
  2472. "in": "query"
  2473. },
  2474. {
  2475. "type": "integer",
  2476. "description": "每页条数",
  2477. "name": "pagesize",
  2478. "in": "query"
  2479. },
  2480. {
  2481. "type": "integer",
  2482. "description": "商品ID",
  2483. "name": "goodsID",
  2484. "in": "query",
  2485. "required": true
  2486. },
  2487. {
  2488. "type": "string",
  2489. "description": "所属账户名称",
  2490. "name": "accountName",
  2491. "in": "query"
  2492. },
  2493. {
  2494. "type": "integer",
  2495. "description": "市场ID",
  2496. "name": "marketID",
  2497. "in": "query"
  2498. },
  2499. {
  2500. "type": "integer",
  2501. "description": "方向 - 0:买 1:卖",
  2502. "name": "buyorsell",
  2503. "in": "query",
  2504. "required": true
  2505. }
  2506. ],
  2507. "responses": {
  2508. "200": {
  2509. "description": "OK",
  2510. "schema": {
  2511. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2512. }
  2513. },
  2514. "500": {
  2515. "description": "Internal Server Error",
  2516. "schema": {
  2517. "$ref": "#/definitions/app.Response"
  2518. }
  2519. }
  2520. }
  2521. }
  2522. },
  2523. "/SZDZ/QuerySZDZTradePosition": {
  2524. "get": {
  2525. "security": [
  2526. {
  2527. "ApiKeyAuth": []
  2528. }
  2529. ],
  2530. "produces": [
  2531. "application/json"
  2532. ],
  2533. "tags": [
  2534. "定制【尚志大宗】"
  2535. ],
  2536. "summary": "持仓汇总查询(尚志大宗)",
  2537. "parameters": [
  2538. {
  2539. "type": "integer",
  2540. "description": "资金账户",
  2541. "name": "accountID",
  2542. "in": "query",
  2543. "required": true
  2544. }
  2545. ],
  2546. "responses": {
  2547. "200": {
  2548. "description": "OK",
  2549. "schema": {
  2550. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2551. }
  2552. },
  2553. "500": {
  2554. "description": "Internal Server Error",
  2555. "schema": {
  2556. "$ref": "#/definitions/app.Response"
  2557. }
  2558. }
  2559. }
  2560. }
  2561. },
  2562. "/SZDZ/SearchWhite": {
  2563. "get": {
  2564. "security": [
  2565. {
  2566. "ApiKeyAuth": []
  2567. }
  2568. ],
  2569. "produces": [
  2570. "application/json"
  2571. ],
  2572. "tags": [
  2573. "定制【尚志大宗】"
  2574. ],
  2575. "summary": "搜索白名单",
  2576. "parameters": [
  2577. {
  2578. "type": "integer",
  2579. "description": "用户ID",
  2580. "name": "userID",
  2581. "in": "query",
  2582. "required": true
  2583. }
  2584. ],
  2585. "responses": {
  2586. "200": {
  2587. "description": "OK",
  2588. "schema": {
  2589. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2590. }
  2591. },
  2592. "500": {
  2593. "description": "Internal Server Error",
  2594. "schema": {
  2595. "$ref": "#/definitions/app.Response"
  2596. }
  2597. }
  2598. }
  2599. }
  2600. },
  2601. "/Search/SearchGoodses": {
  2602. "get": {
  2603. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2604. "produces": [
  2605. "application/json"
  2606. ],
  2607. "tags": [
  2608. "检索服务"
  2609. ],
  2610. "summary": "检索商品信息",
  2611. "parameters": [
  2612. {
  2613. "type": "string",
  2614. "description": "检索内容",
  2615. "name": "content",
  2616. "in": "query",
  2617. "required": true
  2618. }
  2619. ],
  2620. "responses": {
  2621. "200": {
  2622. "description": "OK",
  2623. "schema": {
  2624. "$ref": "#/definitions/models.SearchGoods"
  2625. }
  2626. },
  2627. "500": {
  2628. "description": "Internal Server Error",
  2629. "schema": {
  2630. "$ref": "#/definitions/app.Response"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/TaAccount/QueryAmountLog": {
  2637. "get": {
  2638. "security": [
  2639. {
  2640. "ApiKeyAuth": []
  2641. }
  2642. ],
  2643. "produces": [
  2644. "application/json"
  2645. ],
  2646. "tags": [
  2647. "资金账户"
  2648. ],
  2649. "summary": "资金流水查询(当前)",
  2650. "parameters": [
  2651. {
  2652. "type": "integer",
  2653. "description": "页码",
  2654. "name": "page",
  2655. "in": "query"
  2656. },
  2657. {
  2658. "type": "integer",
  2659. "description": "每页条数",
  2660. "name": "pagesize",
  2661. "in": "query"
  2662. },
  2663. {
  2664. "type": "string",
  2665. "description": "资金账户 - 格式:1,2,3",
  2666. "name": "accountID",
  2667. "in": "query",
  2668. "required": true
  2669. },
  2670. {
  2671. "type": "string",
  2672. "description": "资金操作类型 - 格式:1,2,3",
  2673. "name": "OperateType",
  2674. "in": "query"
  2675. }
  2676. ],
  2677. "responses": {
  2678. "200": {
  2679. "description": "OK",
  2680. "schema": {
  2681. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2682. }
  2683. },
  2684. "500": {
  2685. "description": "Internal Server Error",
  2686. "schema": {
  2687. "$ref": "#/definitions/app.Response"
  2688. }
  2689. }
  2690. }
  2691. }
  2692. },
  2693. "/TaAccount/QueryHisAmountLog": {
  2694. "get": {
  2695. "security": [
  2696. {
  2697. "ApiKeyAuth": []
  2698. }
  2699. ],
  2700. "produces": [
  2701. "application/json"
  2702. ],
  2703. "tags": [
  2704. "资金账户"
  2705. ],
  2706. "summary": "资金流水查询(历史)",
  2707. "parameters": [
  2708. {
  2709. "type": "integer",
  2710. "description": "页码",
  2711. "name": "page",
  2712. "in": "query"
  2713. },
  2714. {
  2715. "type": "integer",
  2716. "description": "每页条数",
  2717. "name": "pagesize",
  2718. "in": "query"
  2719. },
  2720. {
  2721. "type": "string",
  2722. "description": "资金账户 - 格式:1,2,3",
  2723. "name": "accountID",
  2724. "in": "query",
  2725. "required": true
  2726. },
  2727. {
  2728. "type": "string",
  2729. "description": "资金操作类型 - 格式:1,2,3",
  2730. "name": "OperateType",
  2731. "in": "query"
  2732. },
  2733. {
  2734. "type": "string",
  2735. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2736. "name": "startDate",
  2737. "in": "query"
  2738. },
  2739. {
  2740. "type": "string",
  2741. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2742. "name": "endDate",
  2743. "in": "query"
  2744. }
  2745. ],
  2746. "responses": {
  2747. "200": {
  2748. "description": "OK",
  2749. "schema": {
  2750. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2751. }
  2752. },
  2753. "500": {
  2754. "description": "Internal Server Error",
  2755. "schema": {
  2756. "$ref": "#/definitions/app.Response"
  2757. }
  2758. }
  2759. }
  2760. }
  2761. },
  2762. "/User/AddMessageBoard": {
  2763. "post": {
  2764. "security": [
  2765. {
  2766. "ApiKeyAuth": []
  2767. }
  2768. ],
  2769. "produces": [
  2770. "application/json"
  2771. ],
  2772. "tags": [
  2773. "用户信息"
  2774. ],
  2775. "summary": "添加用户留言板信息",
  2776. "parameters": [
  2777. {
  2778. "type": "integer",
  2779. "description": "用户ID",
  2780. "name": "userID",
  2781. "in": "query",
  2782. "required": true
  2783. },
  2784. {
  2785. "type": "string",
  2786. "description": "留言信息",
  2787. "name": "message",
  2788. "in": "query",
  2789. "required": true
  2790. }
  2791. ],
  2792. "responses": {
  2793. "200": {
  2794. "description": "OK",
  2795. "schema": {
  2796. "$ref": "#/definitions/app.Response"
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/User/AddUserFavoriteGoods": {
  2809. "post": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "用户信息"
  2820. ],
  2821. "summary": "添加用户商品收藏信息",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "用户ID",
  2826. "name": "userID",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "integer",
  2832. "description": "商品ID",
  2833. "name": "goodsID",
  2834. "in": "query",
  2835. "required": true
  2836. }
  2837. ],
  2838. "responses": {
  2839. "200": {
  2840. "description": "OK",
  2841. "schema": {
  2842. "$ref": "#/definitions/app.Response"
  2843. }
  2844. },
  2845. "500": {
  2846. "description": "Internal Server Error",
  2847. "schema": {
  2848. "$ref": "#/definitions/app.Response"
  2849. }
  2850. }
  2851. }
  2852. }
  2853. },
  2854. "/User/GetLoginID": {
  2855. "get": {
  2856. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2857. "produces": [
  2858. "application/json"
  2859. ],
  2860. "tags": [
  2861. "用户信息"
  2862. ],
  2863. "summary": "获取登录ID",
  2864. "parameters": [
  2865. {
  2866. "type": "string",
  2867. "description": "登录代码",
  2868. "name": "username",
  2869. "in": "query",
  2870. "required": true
  2871. }
  2872. ],
  2873. "responses": {
  2874. "200": {
  2875. "description": "OK",
  2876. "schema": {
  2877. "$ref": "#/definitions/app.Response"
  2878. }
  2879. },
  2880. "500": {
  2881. "description": "Internal Server Error",
  2882. "schema": {
  2883. "$ref": "#/definitions/app.Response"
  2884. }
  2885. }
  2886. }
  2887. }
  2888. },
  2889. "/User/GetUserAccount": {
  2890. "get": {
  2891. "security": [
  2892. {
  2893. "ApiKeyAuth": []
  2894. }
  2895. ],
  2896. "produces": [
  2897. "application/json"
  2898. ],
  2899. "tags": [
  2900. "用户信息"
  2901. ],
  2902. "summary": "获取用户账号信息",
  2903. "parameters": [
  2904. {
  2905. "type": "integer",
  2906. "description": "用户ID",
  2907. "name": "userID",
  2908. "in": "query",
  2909. "required": true
  2910. }
  2911. ],
  2912. "responses": {
  2913. "200": {
  2914. "description": "OK",
  2915. "schema": {
  2916. "$ref": "#/definitions/models.Useraccount"
  2917. }
  2918. },
  2919. "500": {
  2920. "description": "Internal Server Error",
  2921. "schema": {
  2922. "$ref": "#/definitions/app.Response"
  2923. }
  2924. }
  2925. }
  2926. }
  2927. },
  2928. "/User/GetUserAuthStatus": {
  2929. "get": {
  2930. "security": [
  2931. {
  2932. "ApiKeyAuth": []
  2933. }
  2934. ],
  2935. "produces": [
  2936. "application/json"
  2937. ],
  2938. "tags": [
  2939. "用户信息"
  2940. ],
  2941. "summary": "获取用户实名认证状态",
  2942. "parameters": [
  2943. {
  2944. "type": "integer",
  2945. "description": "用户ID",
  2946. "name": "userID",
  2947. "in": "query",
  2948. "required": true
  2949. }
  2950. ],
  2951. "responses": {
  2952. "200": {
  2953. "description": "OK",
  2954. "schema": {
  2955. "$ref": "#/definitions/app.Response"
  2956. }
  2957. },
  2958. "500": {
  2959. "description": "Internal Server Error",
  2960. "schema": {
  2961. "$ref": "#/definitions/app.Response"
  2962. }
  2963. }
  2964. }
  2965. }
  2966. },
  2967. "/User/QueryMessageBoard": {
  2968. "get": {
  2969. "security": [
  2970. {
  2971. "ApiKeyAuth": []
  2972. }
  2973. ],
  2974. "produces": [
  2975. "application/json"
  2976. ],
  2977. "tags": [
  2978. "用户信息"
  2979. ],
  2980. "summary": "获取用户留言板信息",
  2981. "parameters": [
  2982. {
  2983. "type": "integer",
  2984. "description": "用户ID",
  2985. "name": "userID",
  2986. "in": "query",
  2987. "required": true
  2988. }
  2989. ],
  2990. "responses": {
  2991. "200": {
  2992. "description": "OK",
  2993. "schema": {
  2994. "$ref": "#/definitions/models.Messageboard"
  2995. }
  2996. },
  2997. "500": {
  2998. "description": "Internal Server Error",
  2999. "schema": {
  3000. "$ref": "#/definitions/app.Response"
  3001. }
  3002. }
  3003. }
  3004. }
  3005. },
  3006. "/User/QueryUserFavoriteGoodses": {
  3007. "get": {
  3008. "security": [
  3009. {
  3010. "ApiKeyAuth": []
  3011. }
  3012. ],
  3013. "produces": [
  3014. "application/json"
  3015. ],
  3016. "tags": [
  3017. "用户信息"
  3018. ],
  3019. "summary": "获取用户商品收藏信息",
  3020. "parameters": [
  3021. {
  3022. "type": "integer",
  3023. "description": "用户ID",
  3024. "name": "userID",
  3025. "in": "query",
  3026. "required": true
  3027. }
  3028. ],
  3029. "responses": {
  3030. "200": {
  3031. "description": "OK",
  3032. "schema": {
  3033. "$ref": "#/definitions/models.Userfavoritegoods"
  3034. }
  3035. },
  3036. "500": {
  3037. "description": "Internal Server Error",
  3038. "schema": {
  3039. "$ref": "#/definitions/app.Response"
  3040. }
  3041. }
  3042. }
  3043. }
  3044. },
  3045. "/User/QueryUserInfo": {
  3046. "get": {
  3047. "security": [
  3048. {
  3049. "ApiKeyAuth": []
  3050. }
  3051. ],
  3052. "produces": [
  3053. "application/json"
  3054. ],
  3055. "tags": [
  3056. "用户信息"
  3057. ],
  3058. "summary": "获取用户信息",
  3059. "parameters": [
  3060. {
  3061. "type": "integer",
  3062. "description": "用户ID",
  3063. "name": "userID",
  3064. "in": "query",
  3065. "required": true
  3066. }
  3067. ],
  3068. "responses": {
  3069. "200": {
  3070. "description": "OK",
  3071. "schema": {
  3072. "$ref": "#/definitions/models.Userinfo"
  3073. }
  3074. },
  3075. "500": {
  3076. "description": "Internal Server Error",
  3077. "schema": {
  3078. "$ref": "#/definitions/app.Response"
  3079. }
  3080. }
  3081. }
  3082. }
  3083. },
  3084. "/User/QueryUserReferNum": {
  3085. "get": {
  3086. "produces": [
  3087. "application/json"
  3088. ],
  3089. "tags": [
  3090. "用户信息"
  3091. ],
  3092. "summary": "获取用户邀请码",
  3093. "parameters": [
  3094. {
  3095. "type": "integer",
  3096. "description": "用户ID",
  3097. "name": "userID",
  3098. "in": "query",
  3099. "required": true
  3100. }
  3101. ],
  3102. "responses": {
  3103. "200": {
  3104. "description": "OK",
  3105. "schema": {
  3106. "$ref": "#/definitions/app.Response"
  3107. }
  3108. },
  3109. "500": {
  3110. "description": "Internal Server Error",
  3111. "schema": {
  3112. "$ref": "#/definitions/app.Response"
  3113. }
  3114. }
  3115. }
  3116. }
  3117. },
  3118. "/User/RemoveUserFavoriteGoods": {
  3119. "post": {
  3120. "security": [
  3121. {
  3122. "ApiKeyAuth": []
  3123. }
  3124. ],
  3125. "produces": [
  3126. "application/json"
  3127. ],
  3128. "tags": [
  3129. "用户信息"
  3130. ],
  3131. "summary": "移除用户商品收藏信息",
  3132. "parameters": [
  3133. {
  3134. "type": "integer",
  3135. "description": "用户ID",
  3136. "name": "userID",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "integer",
  3142. "description": "商品ID",
  3143. "name": "goodsID",
  3144. "in": "query",
  3145. "required": true
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "$ref": "#/definitions/app.Response"
  3153. }
  3154. },
  3155. "500": {
  3156. "description": "Internal Server Error",
  3157. "schema": {
  3158. "$ref": "#/definitions/app.Response"
  3159. }
  3160. }
  3161. }
  3162. }
  3163. },
  3164. "/WRTrade/GetAllDeliveryGoods": {
  3165. "get": {
  3166. "security": [
  3167. {
  3168. "ApiKeyAuth": []
  3169. },
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json",
  3176. "application/json"
  3177. ],
  3178. "tags": [
  3179. "仓单贸易",
  3180. "仓单贸易"
  3181. ],
  3182. "summary": "获取带仓单分类的种类信息",
  3183. "responses": {
  3184. "200": {
  3185. "description": "OK",
  3186. "schema": {
  3187. "$ref": "#/definitions/app.Response"
  3188. }
  3189. },
  3190. "500": {
  3191. "description": "Internal Server Error",
  3192. "schema": {
  3193. "$ref": "#/definitions/app.Response"
  3194. }
  3195. }
  3196. }
  3197. }
  3198. }
  3199. },
  3200. "definitions": {
  3201. "app.Response": {
  3202. "type": "object",
  3203. "properties": {
  3204. "code": {
  3205. "type": "integer"
  3206. },
  3207. "data": {
  3208. "type": "object"
  3209. },
  3210. "msg": {
  3211. "type": "string"
  3212. },
  3213. "page": {
  3214. "description": "页码",
  3215. "type": "integer"
  3216. },
  3217. "pagesize": {
  3218. "description": "每页条数",
  3219. "type": "integer"
  3220. },
  3221. "total": {
  3222. "description": "总条数",
  3223. "type": "integer"
  3224. }
  3225. }
  3226. },
  3227. "common.QueryNoticeRsp": {
  3228. "type": "object",
  3229. "required": [
  3230. "autoid"
  3231. ],
  3232. "properties": {
  3233. "auditoruserid": {
  3234. "description": "审核人",
  3235. "type": "integer"
  3236. },
  3237. "auditremark": {
  3238. "description": "审核备注",
  3239. "type": "string"
  3240. },
  3241. "audittime": {
  3242. "description": "审核日期",
  3243. "type": "string"
  3244. },
  3245. "autoid": {
  3246. "description": "自增ID",
  3247. "type": "integer"
  3248. },
  3249. "content": {
  3250. "description": "内容",
  3251. "type": "string"
  3252. },
  3253. "createtime": {
  3254. "description": "创建时间",
  3255. "type": "string"
  3256. },
  3257. "creatorid": {
  3258. "description": "建仓人",
  3259. "type": "integer"
  3260. },
  3261. "endtime": {
  3262. "description": "结束时间",
  3263. "type": "string"
  3264. },
  3265. "istop": {
  3266. "description": "是否置顶 - 0:不置顶 1:置顶",
  3267. "type": "integer"
  3268. },
  3269. "msgiconurl": {
  3270. "description": "消息图标Url",
  3271. "type": "string"
  3272. },
  3273. "msgtype": {
  3274. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3275. "type": "integer"
  3276. },
  3277. "publisher": {
  3278. "description": "消息发布者",
  3279. "type": "string"
  3280. },
  3281. "readed": {
  3282. "description": "是否已读",
  3283. "type": "boolean"
  3284. },
  3285. "scheduletime": {
  3286. "description": "计划发送时间",
  3287. "type": "string"
  3288. },
  3289. "sendtype": {
  3290. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3291. "type": "integer"
  3292. },
  3293. "sentstatus": {
  3294. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3295. "type": "integer"
  3296. },
  3297. "title": {
  3298. "description": "标题",
  3299. "type": "string"
  3300. },
  3301. "userid": {
  3302. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3303. "type": "integer"
  3304. }
  3305. }
  3306. },
  3307. "common.QueryProvincesAndCitiesRsp": {
  3308. "type": "object",
  3309. "properties": {
  3310. "cities": {
  3311. "description": "市",
  3312. "type": "array",
  3313. "items": {
  3314. "$ref": "#/definitions/models.Division"
  3315. }
  3316. },
  3317. "province": {
  3318. "description": "省",
  3319. "type": "object",
  3320. "$ref": "#/definitions/models.Division"
  3321. }
  3322. }
  3323. },
  3324. "common.QueryTableDefineRsp": {
  3325. "type": "object",
  3326. "required": [
  3327. "tablekey"
  3328. ],
  3329. "properties": {
  3330. "columns": {
  3331. "description": "列头信息数组",
  3332. "type": "array",
  3333. "items": {
  3334. "$ref": "#/definitions/models.Tablecolumnconfig"
  3335. }
  3336. },
  3337. "remark": {
  3338. "description": "Remark",
  3339. "type": "string"
  3340. },
  3341. "tabelmenu": {
  3342. "description": "列表菜单",
  3343. "type": "string"
  3344. },
  3345. "tablekey": {
  3346. "description": "列表Key",
  3347. "type": "string"
  3348. },
  3349. "tablename": {
  3350. "description": "列表名称",
  3351. "type": "string"
  3352. },
  3353. "tabletype": {
  3354. "description": "列表类型 - 1:管理端 2:终端",
  3355. "type": "integer"
  3356. }
  3357. }
  3358. },
  3359. "common.QueryTraderMenuRsp": {
  3360. "type": "object",
  3361. "properties": {
  3362. "OperationMenu": {
  3363. "description": "功能菜单",
  3364. "type": "array",
  3365. "items": {
  3366. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3367. }
  3368. },
  3369. "QuoteMenu": {
  3370. "description": "报价牌分类菜单",
  3371. "type": "array",
  3372. "items": {
  3373. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3374. }
  3375. }
  3376. }
  3377. },
  3378. "cptrade.Cptradepositioncancel": {
  3379. "type": "object",
  3380. "required": [
  3381. "cancelid"
  3382. ],
  3383. "properties": {
  3384. "accountid": {
  3385. "description": "申请人账户ID",
  3386. "type": "integer"
  3387. },
  3388. "applystatus": {
  3389. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3390. "type": "integer"
  3391. },
  3392. "applytime": {
  3393. "description": "申请时间",
  3394. "type": "string"
  3395. },
  3396. "cancelid": {
  3397. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3398. "type": "integer"
  3399. },
  3400. "cancelqty": {
  3401. "description": "注销数量",
  3402. "type": "integer"
  3403. },
  3404. "createtime": {
  3405. "description": "创建时间",
  3406. "type": "string"
  3407. },
  3408. "creatorid": {
  3409. "description": "创建人ID",
  3410. "type": "integer"
  3411. },
  3412. "creatorname": {
  3413. "description": "创建人",
  3414. "type": "string"
  3415. },
  3416. "goodscode": {
  3417. "description": "订单商品代码",
  3418. "type": "string"
  3419. },
  3420. "goodsid": {
  3421. "description": "商品ID",
  3422. "type": "integer"
  3423. },
  3424. "goodsname": {
  3425. "description": "订单商品名称",
  3426. "type": "string"
  3427. },
  3428. "goodunit": {
  3429. "description": "报价单位",
  3430. "type": "string"
  3431. },
  3432. "handlestatus": {
  3433. "description": "处理状态",
  3434. "type": "integer"
  3435. },
  3436. "marketid": {
  3437. "description": "市场ID",
  3438. "type": "integer"
  3439. },
  3440. "marketname": {
  3441. "description": "市场名称",
  3442. "type": "string"
  3443. },
  3444. "tradedate": {
  3445. "description": "交易日(yyyyMMdd)",
  3446. "type": "string"
  3447. },
  3448. "userid": {
  3449. "description": "申请人ID",
  3450. "type": "integer"
  3451. }
  3452. }
  3453. },
  3454. "cptrade.Cptradepresaleapply": {
  3455. "type": "object",
  3456. "required": [
  3457. "applyid"
  3458. ],
  3459. "properties": {
  3460. "accountid": {
  3461. "description": "申请人账户ID",
  3462. "type": "integer"
  3463. },
  3464. "applyid": {
  3465. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3466. "type": "integer"
  3467. },
  3468. "applyremark": {
  3469. "description": "申请备注",
  3470. "type": "string"
  3471. },
  3472. "applystatus": {
  3473. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3474. "type": "integer"
  3475. },
  3476. "applytime": {
  3477. "description": "申请时间",
  3478. "type": "string"
  3479. },
  3480. "attachmenturl": {
  3481. "description": "附件地址",
  3482. "type": "string"
  3483. },
  3484. "endtime": {
  3485. "description": "预售结束时间",
  3486. "type": "string"
  3487. },
  3488. "goodscode": {
  3489. "description": "商品代码",
  3490. "type": "string"
  3491. },
  3492. "goodsid": {
  3493. "description": "商品ID",
  3494. "type": "integer"
  3495. },
  3496. "goodsname": {
  3497. "description": "商品名称",
  3498. "type": "string"
  3499. },
  3500. "goodunit": {
  3501. "description": "报价单位",
  3502. "type": "string"
  3503. },
  3504. "handlestatus": {
  3505. "description": "处理状态",
  3506. "type": "integer"
  3507. },
  3508. "marketid": {
  3509. "description": "预售市场ID",
  3510. "type": "integer"
  3511. },
  3512. "marketname": {
  3513. "description": "预售市场名称",
  3514. "type": "string"
  3515. },
  3516. "presaleqty": {
  3517. "description": "预售数量",
  3518. "type": "integer"
  3519. },
  3520. "relatedgoodscode": {
  3521. "description": "关联交易合约代码",
  3522. "type": "string"
  3523. },
  3524. "relatedgoodsid": {
  3525. "description": "关联交易合约ID",
  3526. "type": "integer"
  3527. },
  3528. "relatedgoodsname": {
  3529. "description": "关联交易合约名称",
  3530. "type": "string"
  3531. },
  3532. "starttime": {
  3533. "description": "预售开始时间",
  3534. "type": "string"
  3535. },
  3536. "tradedate": {
  3537. "description": "交易日(yyyyMMdd)",
  3538. "type": "string"
  3539. },
  3540. "trademode": {
  3541. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3542. "type": "integer"
  3543. },
  3544. "userid": {
  3545. "description": "申请人ID",
  3546. "type": "integer"
  3547. }
  3548. }
  3549. },
  3550. "cptrade.Cptradeusergoodsdata": {
  3551. "type": "object",
  3552. "required": [
  3553. "accountid",
  3554. "goodsid"
  3555. ],
  3556. "properties": {
  3557. "EnabledQty": {
  3558. "description": "可用量",
  3559. "type": "integer"
  3560. },
  3561. "GoodsCode": {
  3562. "description": "订单商品代码",
  3563. "type": "string"
  3564. },
  3565. "GoodsName": {
  3566. "description": "订单商品名称",
  3567. "type": "string"
  3568. },
  3569. "WRStandardCode": {
  3570. "description": "仓单标准代码",
  3571. "type": "string"
  3572. },
  3573. "WRStandardName": {
  3574. "description": "仓单标准名称",
  3575. "type": "string"
  3576. },
  3577. "accountid": {
  3578. "description": "账户ID",
  3579. "type": "integer"
  3580. },
  3581. "cancelqty": {
  3582. "description": "注销量",
  3583. "type": "integer"
  3584. },
  3585. "curpresaleqty": {
  3586. "description": "当前预售量",
  3587. "type": "integer"
  3588. },
  3589. "deliveryqty": {
  3590. "description": "交割量",
  3591. "type": "integer"
  3592. },
  3593. "freezeamount": {
  3594. "description": "冻结金额",
  3595. "type": "number"
  3596. },
  3597. "goodsid": {
  3598. "description": "商品ID",
  3599. "type": "integer"
  3600. },
  3601. "goodunit": {
  3602. "description": "报价单位",
  3603. "type": "string"
  3604. },
  3605. "hasspotfreeze": {
  3606. "description": "是否有现货冻结 - 0:否 1:有",
  3607. "type": "integer"
  3608. },
  3609. "inqty": {
  3610. "description": "转入量(总数量)",
  3611. "type": "integer"
  3612. },
  3613. "marketid": {
  3614. "description": "市场ID",
  3615. "type": "integer"
  3616. },
  3617. "presaledamount": {
  3618. "description": "已预售总金额",
  3619. "type": "integer"
  3620. },
  3621. "presaledqty": {
  3622. "description": "已预售量",
  3623. "type": "integer"
  3624. },
  3625. "userid": {
  3626. "description": "用户ID",
  3627. "type": "integer"
  3628. },
  3629. "wrstandardid": {
  3630. "description": "仓单标准ID",
  3631. "type": "integer"
  3632. }
  3633. }
  3634. },
  3635. "cptrade.QueryCPTradeMyBidRsp": {
  3636. "type": "object",
  3637. "required": [
  3638. "accountid",
  3639. "goodsid",
  3640. "marketid",
  3641. "orderid",
  3642. "orderqty",
  3643. "ordertime",
  3644. "tradeprice",
  3645. "tradeqty"
  3646. ],
  3647. "properties": {
  3648. "accountid": {
  3649. "description": "账户ID[报价币种]",
  3650. "type": "integer"
  3651. },
  3652. "goodsid": {
  3653. "description": "商品ID",
  3654. "type": "integer"
  3655. },
  3656. "goodunit": {
  3657. "description": "报价单位",
  3658. "type": "string"
  3659. },
  3660. "marketid": {
  3661. "description": "市场ID",
  3662. "type": "integer"
  3663. },
  3664. "orderid": {
  3665. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3666. "type": "integer"
  3667. },
  3668. "orderprice": {
  3669. "description": "委托价格",
  3670. "type": "number"
  3671. },
  3672. "orderqty": {
  3673. "description": "委托数量",
  3674. "type": "integer"
  3675. },
  3676. "ordertime": {
  3677. "description": "委托时间",
  3678. "type": "string"
  3679. },
  3680. "ordertotalprice": {
  3681. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3682. "type": "number"
  3683. },
  3684. "ordertotalweight": {
  3685. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3686. "type": "integer"
  3687. },
  3688. "totaltotalprice": {
  3689. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3690. "type": "number"
  3691. },
  3692. "tradeprice": {
  3693. "description": "成交价格",
  3694. "type": "number"
  3695. },
  3696. "tradeqty": {
  3697. "description": "成交数量",
  3698. "type": "integer"
  3699. }
  3700. }
  3701. },
  3702. "cptrade.QueryCPTradeOrderDetailRsq": {
  3703. "type": "object",
  3704. "required": [
  3705. "accountid",
  3706. "buildtype",
  3707. "buyorsell",
  3708. "goodsid",
  3709. "marketid",
  3710. "memberuserid",
  3711. "operatetype",
  3712. "orderqty",
  3713. "ordertime",
  3714. "pricemode",
  3715. "strorderid",
  3716. "tradedate",
  3717. "validtype"
  3718. ],
  3719. "properties": {
  3720. "accountid": {
  3721. "description": "账户ID[报价币种]",
  3722. "type": "integer"
  3723. },
  3724. "buildtype": {
  3725. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3726. "type": "integer"
  3727. },
  3728. "buyorsell": {
  3729. "description": "买卖 - 0:买 1:卖",
  3730. "type": "integer"
  3731. },
  3732. "cancelorderid": {
  3733. "description": "撤单单号(撤单时填写)",
  3734. "type": "integer"
  3735. },
  3736. "cancelqty": {
  3737. "description": "撤单数量",
  3738. "type": "integer"
  3739. },
  3740. "clientordertime": {
  3741. "description": "客户端委托时间",
  3742. "type": "string"
  3743. },
  3744. "clientticket": {
  3745. "description": "客户端流水号",
  3746. "type": "string"
  3747. },
  3748. "clienttype": {
  3749. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3750. "type": "integer"
  3751. },
  3752. "closeexchagechargevalue": {
  3753. "description": "平仓交易所手续费设置值",
  3754. "type": "number"
  3755. },
  3756. "closefeealgorithm": {
  3757. "description": "平仓手续费收取方式 1:比率 2:固定",
  3758. "type": "integer"
  3759. },
  3760. "closefreezecharge": {
  3761. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3762. "type": "number"
  3763. },
  3764. "closememberchargevalue": {
  3765. "description": "平仓会员手续费设置值",
  3766. "type": "number"
  3767. },
  3768. "closeqty": {
  3769. "description": "平仓数量(先建后平操作 需要记录)",
  3770. "type": "integer"
  3771. },
  3772. "closetradeqty": {
  3773. "description": "平仓成交数量(先建后平操作,需要记录)",
  3774. "type": "integer"
  3775. },
  3776. "closeunfreezecharge": {
  3777. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3778. "type": "number"
  3779. },
  3780. "delistingtype": {
  3781. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3782. "type": "integer"
  3783. },
  3784. "freezecharge": {
  3785. "description": "冻结手续费",
  3786. "type": "number"
  3787. },
  3788. "freezemargin": {
  3789. "description": "冻结保证金(冻结交易金额)",
  3790. "type": "number"
  3791. },
  3792. "gcaccountid": {
  3793. "description": "账户ID[合约币种]",
  3794. "type": "integer"
  3795. },
  3796. "goodsid": {
  3797. "description": "商品ID",
  3798. "type": "integer"
  3799. },
  3800. "isconfirmexercise": {
  3801. "description": "是否确认行权- 0:否 1:是",
  3802. "type": "integer"
  3803. },
  3804. "ispreexercise": {
  3805. "description": "是否预申报- 0:否 1:是",
  3806. "type": "integer"
  3807. },
  3808. "listingselecttype": {
  3809. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3810. "type": "integer"
  3811. },
  3812. "marginalgorithm": {
  3813. "description": "保证金收取方式 1:比率 2:固定",
  3814. "type": "integer"
  3815. },
  3816. "marginvalue": {
  3817. "description": "即市保证金设置值",
  3818. "type": "number"
  3819. },
  3820. "marketid": {
  3821. "description": "市场ID",
  3822. "type": "integer"
  3823. },
  3824. "marketmaxsub": {
  3825. "description": "市价最大偏移范围",
  3826. "type": "number"
  3827. },
  3828. "memberuserid": {
  3829. "description": "所属会员UserID",
  3830. "type": "integer"
  3831. },
  3832. "openexchagechargevalue": {
  3833. "description": "建仓交易所手续费设置值",
  3834. "type": "number"
  3835. },
  3836. "openfeealgorithm": {
  3837. "description": "建仓手续费收取方式 1:比率 2:固定",
  3838. "type": "integer"
  3839. },
  3840. "openfreezecharge": {
  3841. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3842. "type": "number"
  3843. },
  3844. "openmemberchargevalue": {
  3845. "description": "建仓会员手续费设置值",
  3846. "type": "number"
  3847. },
  3848. "openqty": {
  3849. "description": "开仓数量(先建后平操作,需要记录)",
  3850. "type": "integer"
  3851. },
  3852. "opentradeqty": {
  3853. "description": "开仓成交数量(先建后平操作,需要记录)",
  3854. "type": "integer"
  3855. },
  3856. "openunfreezecharge": {
  3857. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3858. "type": "number"
  3859. },
  3860. "operatetype": {
  3861. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3862. "type": "integer"
  3863. },
  3864. "operatorid": {
  3865. "description": "登录账号(LoginID)",
  3866. "type": "integer"
  3867. },
  3868. "optiontype": {
  3869. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3870. "type": "integer"
  3871. },
  3872. "orderprice": {
  3873. "description": "委托价格",
  3874. "type": "number"
  3875. },
  3876. "orderqty": {
  3877. "description": "委托数量",
  3878. "type": "integer"
  3879. },
  3880. "ordersrc": {
  3881. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3882. "type": "integer"
  3883. },
  3884. "orderstatus": {
  3885. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3886. "type": "integer"
  3887. },
  3888. "ordertime": {
  3889. "description": "委托时间",
  3890. "type": "string"
  3891. },
  3892. "preexerciseprice": {
  3893. "description": "预申报价格",
  3894. "type": "number"
  3895. },
  3896. "premium": {
  3897. "description": "权利金",
  3898. "type": "number"
  3899. },
  3900. "preorderid": {
  3901. "description": "关联预埋单号(止盈止损单时填写)",
  3902. "type": "integer"
  3903. },
  3904. "pricemode": {
  3905. "description": "取价方式 - 1:市价 2: 限价",
  3906. "type": "integer"
  3907. },
  3908. "quoteid": {
  3909. "description": "报价单ID",
  3910. "type": "integer"
  3911. },
  3912. "relatedid": {
  3913. "description": "关联单号(交割单)",
  3914. "type": "integer"
  3915. },
  3916. "retcode": {
  3917. "description": "错误代码",
  3918. "type": "integer"
  3919. },
  3920. "sessionid": {
  3921. "description": "会话ID",
  3922. "type": "integer"
  3923. },
  3924. "strorderid": {
  3925. "description": "委托单号",
  3926. "type": "string"
  3927. },
  3928. "tradedate": {
  3929. "description": "交易日(yyyyMMdd)",
  3930. "type": "string"
  3931. },
  3932. "tradeproperty": {
  3933. "description": "交易属性",
  3934. "type": "integer"
  3935. },
  3936. "tradeqty": {
  3937. "description": "成交数量",
  3938. "type": "integer"
  3939. },
  3940. "unfreezecharge": {
  3941. "description": "解冻手续费",
  3942. "type": "number"
  3943. },
  3944. "unfreezemargin": {
  3945. "description": "解冻保证金",
  3946. "type": "number"
  3947. },
  3948. "updatetime": {
  3949. "description": "更新时间",
  3950. "type": "string"
  3951. },
  3952. "uuid": {
  3953. "description": "发起端唯一id",
  3954. "type": "string"
  3955. },
  3956. "validtime": {
  3957. "description": "有效期限",
  3958. "type": "string"
  3959. },
  3960. "validtype": {
  3961. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3962. "type": "integer"
  3963. },
  3964. "volumetype": {
  3965. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3966. "type": "integer"
  3967. }
  3968. }
  3969. },
  3970. "cptrade.QueryMyCPTradeGoodsRsp": {
  3971. "type": "object",
  3972. "required": [
  3973. "goodscode",
  3974. "goodsid",
  3975. "goodsname",
  3976. "marketid",
  3977. "relatedgoodscode",
  3978. "relatedgoodsname"
  3979. ],
  3980. "properties": {
  3981. "accountid": {
  3982. "description": "卖方账户ID",
  3983. "type": "integer"
  3984. },
  3985. "agreeunit": {
  3986. "description": "合约单位",
  3987. "type": "number"
  3988. },
  3989. "applyid": {
  3990. "description": "关联申请ID",
  3991. "type": "integer"
  3992. },
  3993. "attachmenturl": {
  3994. "description": "附件地址",
  3995. "type": "string"
  3996. },
  3997. "createtime": {
  3998. "description": "创建时间",
  3999. "type": "string"
  4000. },
  4001. "currencyid": {
  4002. "description": "报价货币ID",
  4003. "type": "integer"
  4004. },
  4005. "decimalplace": {
  4006. "description": "报价小数位",
  4007. "type": "integer"
  4008. },
  4009. "endtime": {
  4010. "description": "预售结束时间",
  4011. "type": "string"
  4012. },
  4013. "floorprice": {
  4014. "description": "底价[大宗式竞拍]",
  4015. "type": "number"
  4016. },
  4017. "goodscode": {
  4018. "description": "商品代码(预售)",
  4019. "type": "string"
  4020. },
  4021. "goodsdetail": {
  4022. "description": "详情[大宗]",
  4023. "type": "string"
  4024. },
  4025. "goodsid": {
  4026. "description": "商品ID(自增ID SEQ_GOODS)",
  4027. "type": "integer"
  4028. },
  4029. "goodsname": {
  4030. "description": "商品名称(预售)",
  4031. "type": "string"
  4032. },
  4033. "goodunit": {
  4034. "description": "报价单位",
  4035. "type": "string"
  4036. },
  4037. "goodunitid": {
  4038. "description": "报价单位ID",
  4039. "type": "integer"
  4040. },
  4041. "marketid": {
  4042. "description": "所属市场ID",
  4043. "type": "integer"
  4044. },
  4045. "marketname": {
  4046. "description": "预售市场名称",
  4047. "type": "string"
  4048. },
  4049. "presaledamount": {
  4050. "description": "已预售总金额(预售结束时更新)",
  4051. "type": "number"
  4052. },
  4053. "presaledqty": {
  4054. "description": "已预售量(预售结束时更新)",
  4055. "type": "integer"
  4056. },
  4057. "presalemode": {
  4058. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4059. "type": "integer"
  4060. },
  4061. "presaleqty": {
  4062. "description": "预售数量",
  4063. "type": "integer"
  4064. },
  4065. "refprice": {
  4066. "description": "参考价格[一口价]",
  4067. "type": "number"
  4068. },
  4069. "relatedgoodscode": {
  4070. "description": "商品代码(订单)",
  4071. "type": "string"
  4072. },
  4073. "relatedgoodsid": {
  4074. "description": "关联交易合约ID",
  4075. "type": "integer"
  4076. },
  4077. "relatedgoodsname": {
  4078. "description": "商品名称(订单)",
  4079. "type": "string"
  4080. },
  4081. "relatedmarketid": {
  4082. "description": "关联交易合约市场ID",
  4083. "type": "integer"
  4084. },
  4085. "sellstatus": {
  4086. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4087. "type": "integer"
  4088. },
  4089. "startprice": {
  4090. "description": "起拍价[大宗式竞拍]",
  4091. "type": "number"
  4092. },
  4093. "starttime": {
  4094. "description": "预售开始时间",
  4095. "type": "string"
  4096. },
  4097. "tradedate": {
  4098. "description": "交易日(yyyyMMdd)",
  4099. "type": "string"
  4100. },
  4101. "tradeprice": {
  4102. "description": "成交价[大宗]",
  4103. "type": "number"
  4104. },
  4105. "userid": {
  4106. "description": "卖方用户ID",
  4107. "type": "integer"
  4108. }
  4109. }
  4110. },
  4111. "cptrade.QueryPresaleGoodsExRsp": {
  4112. "type": "object",
  4113. "required": [
  4114. "goodsid"
  4115. ],
  4116. "properties": {
  4117. "attachmenturl": {
  4118. "description": "附件地址",
  4119. "type": "string"
  4120. },
  4121. "createtime": {
  4122. "description": "创建时间",
  4123. "type": "string"
  4124. },
  4125. "endtime": {
  4126. "description": "预售结束时间",
  4127. "type": "string"
  4128. },
  4129. "floorprice": {
  4130. "description": "底价[大宗式竞拍]",
  4131. "type": "number"
  4132. },
  4133. "goodsdetail": {
  4134. "description": "详情[大宗]",
  4135. "type": "string"
  4136. },
  4137. "goodsid": {
  4138. "description": "商品ID(预售)",
  4139. "type": "integer"
  4140. },
  4141. "goodunit": {
  4142. "description": "报价单位",
  4143. "type": "string"
  4144. },
  4145. "marketid": {
  4146. "description": "预售市场ID - 根据预售模式选择市场",
  4147. "type": "integer"
  4148. },
  4149. "presaledamount": {
  4150. "description": "已预售总金额(预售结束时更新)",
  4151. "type": "number"
  4152. },
  4153. "presaledqty": {
  4154. "description": "已预售量(预售结束时更新)",
  4155. "type": "integer"
  4156. },
  4157. "presalemode": {
  4158. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4159. "type": "integer"
  4160. },
  4161. "presaleqty": {
  4162. "description": "预售数量",
  4163. "type": "integer"
  4164. },
  4165. "refprice": {
  4166. "description": "参考价格[一口价]",
  4167. "type": "number"
  4168. },
  4169. "relatedgoodsid": {
  4170. "description": "关联交易合约ID",
  4171. "type": "integer"
  4172. },
  4173. "relatedmarketid": {
  4174. "description": "关联交易合约市场ID",
  4175. "type": "integer"
  4176. },
  4177. "sellstatus": {
  4178. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4179. "type": "integer"
  4180. },
  4181. "startprice": {
  4182. "description": "起拍价[大宗式竞拍]",
  4183. "type": "number"
  4184. },
  4185. "starttime": {
  4186. "description": "预售开始时间",
  4187. "type": "string"
  4188. },
  4189. "tradedate": {
  4190. "description": "交易日(yyyyMMdd)",
  4191. "type": "string"
  4192. },
  4193. "tradeprice": {
  4194. "description": "成交价[大宗]",
  4195. "type": "number"
  4196. }
  4197. }
  4198. },
  4199. "delivery.QueryDeliveryRelationRsp": {
  4200. "type": "object",
  4201. "required": [
  4202. "begindate",
  4203. "enddate",
  4204. "goodsid",
  4205. "mindeliveryqty",
  4206. "xdeliveryratio"
  4207. ],
  4208. "properties": {
  4209. "begindate": {
  4210. "description": "起始日期(yyyyMMdd)",
  4211. "type": "string"
  4212. },
  4213. "buytemplateid": {
  4214. "description": "买履约计划模板ID",
  4215. "type": "integer"
  4216. },
  4217. "deliverygoodscode": {
  4218. "description": "品种代码",
  4219. "type": "string"
  4220. },
  4221. "deliverygoodsid": {
  4222. "description": "交割商品",
  4223. "type": "integer"
  4224. },
  4225. "deliverygoodsname": {
  4226. "description": "品种名称",
  4227. "type": "string"
  4228. },
  4229. "deliverymode": {
  4230. "description": "交割方式 - 1:点选式 2:申报式",
  4231. "type": "integer"
  4232. },
  4233. "deliverypricerule": {
  4234. "description": "交割价规则- 1:行情价 2:建仓价",
  4235. "type": "integer"
  4236. },
  4237. "deliverytype": {
  4238. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4239. "type": "integer"
  4240. },
  4241. "enddate": {
  4242. "description": "结束日期(yyyyMMdd)",
  4243. "type": "string"
  4244. },
  4245. "goodscode": {
  4246. "description": "商品代码",
  4247. "type": "string"
  4248. },
  4249. "goodsid": {
  4250. "description": "交易合约ID",
  4251. "type": "integer"
  4252. },
  4253. "goodsname": {
  4254. "description": "商品名称",
  4255. "type": "string"
  4256. },
  4257. "marketid": {
  4258. "description": "市场ID",
  4259. "type": "integer"
  4260. },
  4261. "mindeliveryqty": {
  4262. "description": "最小交割系数(K)",
  4263. "type": "integer"
  4264. },
  4265. "p2deliveryprice": {
  4266. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4267. "type": "number"
  4268. },
  4269. "p2deliveryratio": {
  4270. "description": "P2合约系数(p)",
  4271. "type": "integer"
  4272. },
  4273. "p2goodsid": {
  4274. "description": "P2合约ID",
  4275. "type": "integer"
  4276. },
  4277. "p2pricemode": {
  4278. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4279. "type": "integer"
  4280. },
  4281. "pdeliveryprice": {
  4282. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4283. "type": "number"
  4284. },
  4285. "pdeliveryratio": {
  4286. "description": "P合约系数(n)",
  4287. "type": "integer"
  4288. },
  4289. "pgoodsid": {
  4290. "description": "P合约ID",
  4291. "type": "integer"
  4292. },
  4293. "ppricemode": {
  4294. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4295. "type": "integer"
  4296. },
  4297. "rratio": {
  4298. "description": "兑换系数(R)",
  4299. "type": "integer"
  4300. },
  4301. "rratio1": {
  4302. "description": "兑换系数(交易合约)(R1)",
  4303. "type": "integer"
  4304. },
  4305. "rratio2": {
  4306. "description": "兑换系数(仓单标准)(R2)",
  4307. "type": "integer"
  4308. },
  4309. "selltemplateid": {
  4310. "description": "卖履约计划模板ID",
  4311. "type": "integer"
  4312. },
  4313. "wrstandardid": {
  4314. "description": "仓单标准ID",
  4315. "type": "integer"
  4316. },
  4317. "xdeliveryratio": {
  4318. "description": "交易合约系数(m)",
  4319. "type": "integer"
  4320. }
  4321. }
  4322. },
  4323. "erms2.QueryArbitrageStrategyRsp": {
  4324. "type": "object",
  4325. "required": [
  4326. "asapplyid"
  4327. ],
  4328. "properties": {
  4329. "applybasis": {
  4330. "description": "申请基差",
  4331. "type": "number"
  4332. },
  4333. "asapplyid": {
  4334. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4335. "type": "string"
  4336. },
  4337. "asname": {
  4338. "description": "策略名称",
  4339. "type": "string"
  4340. },
  4341. "asno": {
  4342. "description": "策略编号",
  4343. "type": "string"
  4344. },
  4345. "basischangepl": {
  4346. "description": "基差变动损益[结算更新]",
  4347. "type": "number"
  4348. },
  4349. "biztype": {
  4350. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4351. "type": "integer"
  4352. },
  4353. "closetradedate": {
  4354. "description": "完结交易日(yyyyMMdd)",
  4355. "type": "string"
  4356. },
  4357. "curbasis": {
  4358. "description": "当前基差[结算更新]",
  4359. "type": "number"
  4360. },
  4361. "deliverygoodsid": {
  4362. "description": "现货品种ID",
  4363. "type": "integer"
  4364. },
  4365. "futureavgprice": {
  4366. "description": "期货建仓均价",
  4367. "type": "number"
  4368. },
  4369. "futurecloseamount": {
  4370. "description": "期货平仓金额",
  4371. "type": "number"
  4372. },
  4373. "futurecloseqty": {
  4374. "description": "期货平仓数量",
  4375. "type": "number"
  4376. },
  4377. "futureopenamount": {
  4378. "description": "期货开仓金额",
  4379. "type": "number"
  4380. },
  4381. "futureopenqty": {
  4382. "description": "期货开仓数量",
  4383. "type": "number"
  4384. },
  4385. "futurepl": {
  4386. "description": "期货总盈亏[结算更新]",
  4387. "type": "number"
  4388. },
  4389. "futureqty": {
  4390. "description": "期货持仓数量",
  4391. "type": "number"
  4392. },
  4393. "futurequote": {
  4394. "description": "期货额度",
  4395. "type": "number"
  4396. },
  4397. "goodsgroupid": {
  4398. "description": "期货品种ID",
  4399. "type": "integer"
  4400. },
  4401. "marketid": {
  4402. "description": "市场ID",
  4403. "type": "integer"
  4404. },
  4405. "netexposure": {
  4406. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4407. "type": "number"
  4408. },
  4409. "netexposurepl": {
  4410. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4411. "type": "number"
  4412. },
  4413. "netexposurerate": {
  4414. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4415. "type": "number"
  4416. },
  4417. "openbasis": {
  4418. "description": "建仓基差",
  4419. "type": "number"
  4420. },
  4421. "pricedspotqty": {
  4422. "description": "已定价现货数量",
  4423. "type": "number"
  4424. },
  4425. "pricedspotqtynotax": {
  4426. "description": "已定价现货不含税数量",
  4427. "type": "number"
  4428. },
  4429. "remark": {
  4430. "description": "备注",
  4431. "type": "string"
  4432. },
  4433. "spotavgprice": {
  4434. "description": "现货均价",
  4435. "type": "number"
  4436. },
  4437. "spotbuyamount": {
  4438. "description": "现货采购金额",
  4439. "type": "number"
  4440. },
  4441. "spotbuyqty": {
  4442. "description": "现货采购数量",
  4443. "type": "number"
  4444. },
  4445. "spotpl": {
  4446. "description": "现货总盈亏[结算更新]",
  4447. "type": "number"
  4448. },
  4449. "spotquota": {
  4450. "description": "现货额度",
  4451. "type": "number"
  4452. },
  4453. "spotsellamount": {
  4454. "description": "现货销售金额",
  4455. "type": "number"
  4456. },
  4457. "spotsellqty": {
  4458. "description": "现货销售数量",
  4459. "type": "number"
  4460. },
  4461. "spotusedquota": {
  4462. "description": "现货占用资金",
  4463. "type": "number"
  4464. },
  4465. "strategystatus": {
  4466. "description": "策略状态 - 0:未结束 1:已结束",
  4467. "type": "integer"
  4468. },
  4469. "totalpl": {
  4470. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4471. "type": "number"
  4472. },
  4473. "tradedate": {
  4474. "description": "交易日(yyyyMMdd)",
  4475. "type": "string"
  4476. },
  4477. "updatetime": {
  4478. "description": "更新时间",
  4479. "type": "string"
  4480. },
  4481. "usedquota": {
  4482. "description": "已占用资金",
  4483. "type": "number"
  4484. },
  4485. "userid": {
  4486. "description": "所属机构",
  4487. "type": "integer"
  4488. }
  4489. }
  4490. },
  4491. "erms2.QueryInnerTradeDetailRsp": {
  4492. "type": "object",
  4493. "required": [
  4494. "asapplyid",
  4495. "buyorsell",
  4496. "goodscode",
  4497. "goodsgroupid",
  4498. "goodsgroupname",
  4499. "goodsname",
  4500. "tradeid"
  4501. ],
  4502. "properties": {
  4503. "accountid": {
  4504. "description": "账号ID",
  4505. "type": "integer"
  4506. },
  4507. "agreeunit": {
  4508. "description": "合约单位",
  4509. "type": "number"
  4510. },
  4511. "asapplyid": {
  4512. "description": "策略申请ID",
  4513. "type": "integer"
  4514. },
  4515. "asname": {
  4516. "description": "策略名称",
  4517. "type": "string"
  4518. },
  4519. "asno": {
  4520. "description": "策略编号",
  4521. "type": "string"
  4522. },
  4523. "buyorsell": {
  4524. "description": "方向 - 0:买 1:卖",
  4525. "type": "integer"
  4526. },
  4527. "channelbuildtype": {
  4528. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4529. "type": "integer"
  4530. },
  4531. "closetype": {
  4532. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4533. "type": "integer"
  4534. },
  4535. "decimalplace": {
  4536. "description": "报价小数位",
  4537. "type": "integer"
  4538. },
  4539. "detailtype": {
  4540. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4541. "type": "integer"
  4542. },
  4543. "exexchangecode": {
  4544. "description": "外部交易所代码",
  4545. "type": "string"
  4546. },
  4547. "exexchangename": {
  4548. "description": "外部交易所名称",
  4549. "type": "string"
  4550. },
  4551. "goodscode": {
  4552. "description": "商品代码(合约)",
  4553. "type": "string"
  4554. },
  4555. "goodsgroupid": {
  4556. "description": "商品组ID(品种ID)",
  4557. "type": "integer"
  4558. },
  4559. "goodsgroupname": {
  4560. "description": "商品组名称(品种)",
  4561. "type": "string"
  4562. },
  4563. "goodsid": {
  4564. "description": "商品ID",
  4565. "type": "integer"
  4566. },
  4567. "goodsname": {
  4568. "description": "商品名称(合约)",
  4569. "type": "string"
  4570. },
  4571. "goodunit": {
  4572. "description": "报价单位",
  4573. "type": "string"
  4574. },
  4575. "marketid": {
  4576. "description": "市场ID",
  4577. "type": "integer"
  4578. },
  4579. "orderid": {
  4580. "description": "委托单号",
  4581. "type": "string"
  4582. },
  4583. "outgoodscode": {
  4584. "description": "商品代码(外部)",
  4585. "type": "string"
  4586. },
  4587. "relatedouttradeid": {
  4588. "description": "关联外部成交单ID",
  4589. "type": "string"
  4590. },
  4591. "remark": {
  4592. "description": "备注",
  4593. "type": "string"
  4594. },
  4595. "spotcontractid": {
  4596. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4597. "type": "integer"
  4598. },
  4599. "spotcontractno": {
  4600. "description": "现货合同编号",
  4601. "type": "string"
  4602. },
  4603. "tradeid": {
  4604. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4605. "type": "string"
  4606. },
  4607. "tradeprice": {
  4608. "description": "成交价格",
  4609. "type": "number"
  4610. },
  4611. "tradeqty": {
  4612. "description": "成交数量",
  4613. "type": "integer"
  4614. },
  4615. "tradetime": {
  4616. "description": "成交时间",
  4617. "type": "string"
  4618. },
  4619. "updatetime": {
  4620. "description": "更新时间",
  4621. "type": "string"
  4622. }
  4623. }
  4624. },
  4625. "erms2.QuerySpotContractRsp": {
  4626. "type": "object",
  4627. "required": [
  4628. "spotcontractid"
  4629. ],
  4630. "properties": {
  4631. "accountid": {
  4632. "description": "资金账户ID",
  4633. "type": "integer"
  4634. },
  4635. "areauserid": {
  4636. "description": "所属机构",
  4637. "type": "integer"
  4638. },
  4639. "closedate": {
  4640. "description": "终止日期",
  4641. "type": "string"
  4642. },
  4643. "closeremark": {
  4644. "description": "结束备注",
  4645. "type": "string"
  4646. },
  4647. "closetradedate": {
  4648. "description": "完结交易日(yyyyMMdd)",
  4649. "type": "string"
  4650. },
  4651. "closetype": {
  4652. "description": "终止类型 - 1:违约 2:提前终止",
  4653. "type": "integer"
  4654. },
  4655. "contractamount": {
  4656. "description": "合同金额",
  4657. "type": "number"
  4658. },
  4659. "contractattachment": {
  4660. "description": "合同附件",
  4661. "type": "string"
  4662. },
  4663. "contractno": {
  4664. "description": "现货合同编号",
  4665. "type": "string"
  4666. },
  4667. "contractqty": {
  4668. "description": "合同数量(数值) (用于计算)",
  4669. "type": "number"
  4670. },
  4671. "contractqtychar": {
  4672. "description": "合同数量\\已订价数量 (用于显示)",
  4673. "type": "string"
  4674. },
  4675. "contractstatus": {
  4676. "description": "合同状态 - 0:未结束 1:已结束",
  4677. "type": "integer"
  4678. },
  4679. "contracttype": {
  4680. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4681. "type": "integer"
  4682. },
  4683. "customeraccountid": {
  4684. "description": "客户资金账户ID",
  4685. "type": "integer"
  4686. },
  4687. "customeruserid": {
  4688. "description": "客户ID",
  4689. "type": "integer"
  4690. },
  4691. "deliverygoodsdesc": {
  4692. "description": "品种说明",
  4693. "type": "string"
  4694. },
  4695. "deliverygoodsid": {
  4696. "description": "现货品种ID",
  4697. "type": "integer"
  4698. },
  4699. "handlestatus": {
  4700. "description": "处理状态",
  4701. "type": "integer"
  4702. },
  4703. "invoiceatt": {
  4704. "description": "发票附件",
  4705. "type": "string"
  4706. },
  4707. "invoicedatetime": {
  4708. "description": "开收票更新时间",
  4709. "type": "string"
  4710. },
  4711. "invoiceopentime": {
  4712. "description": "开票时间",
  4713. "type": "string"
  4714. },
  4715. "invoiceremark": {
  4716. "description": "发票备注",
  4717. "type": "string"
  4718. },
  4719. "invoicestatus": {
  4720. "description": "开收票状态 - 0:未开票 1:已开票",
  4721. "type": "integer"
  4722. },
  4723. "lastdate": {
  4724. "description": "交货时间",
  4725. "type": "string"
  4726. },
  4727. "marketid": {
  4728. "description": "市场ID",
  4729. "type": "integer"
  4730. },
  4731. "paydatetime": {
  4732. "description": "收付款更新时间",
  4733. "type": "string"
  4734. },
  4735. "payremark": {
  4736. "description": "收付款备注",
  4737. "type": "string"
  4738. },
  4739. "paystatus": {
  4740. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4741. "type": "integer"
  4742. },
  4743. "positionqty": {
  4744. "description": "头寸数量 - 合同数量去小数部分",
  4745. "type": "integer"
  4746. },
  4747. "producttype": {
  4748. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4749. "type": "integer"
  4750. },
  4751. "relatedqty": {
  4752. "description": "已关联数量",
  4753. "type": "number"
  4754. },
  4755. "relatedstatus": {
  4756. "description": "关联完结状态 - 0:未结束 1:已结束",
  4757. "type": "integer"
  4758. },
  4759. "remark": {
  4760. "description": "备注",
  4761. "type": "string"
  4762. },
  4763. "signdate": {
  4764. "description": "签订日期",
  4765. "type": "string"
  4766. },
  4767. "spotcontractid": {
  4768. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4769. "type": "string"
  4770. },
  4771. "spotdatetime": {
  4772. "description": "收发货更新时间",
  4773. "type": "string"
  4774. },
  4775. "spotprice": {
  4776. "description": "价格",
  4777. "type": "number"
  4778. },
  4779. "spotremark": {
  4780. "description": "收发货备注",
  4781. "type": "string"
  4782. },
  4783. "spotstatus": {
  4784. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4785. "type": "integer"
  4786. },
  4787. "tradedate": {
  4788. "description": "交易日(yyyyMMdd)",
  4789. "type": "string"
  4790. },
  4791. "userid": {
  4792. "description": "业务员用户ID",
  4793. "type": "integer"
  4794. },
  4795. "warehouseid": {
  4796. "description": "仓库ID",
  4797. "type": "integer"
  4798. },
  4799. "wrfactortypeid": {
  4800. "description": "仓单要素类型ID",
  4801. "type": "integer"
  4802. },
  4803. "wrstandardid": {
  4804. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4805. "type": "integer"
  4806. }
  4807. }
  4808. },
  4809. "erms3.AddSpotContractApplyReq": {
  4810. "type": "object",
  4811. "required": [
  4812. "accountid",
  4813. "areauserid",
  4814. "contractno",
  4815. "contracttype",
  4816. "customeraccountid",
  4817. "customeruserid",
  4818. "details",
  4819. "orimargin",
  4820. "signdate"
  4821. ],
  4822. "properties": {
  4823. "accountid": {
  4824. "description": "资金账户ID",
  4825. "type": "integer"
  4826. },
  4827. "areauserid": {
  4828. "description": "所属机构",
  4829. "type": "integer"
  4830. },
  4831. "contractattachment": {
  4832. "description": "合同附件",
  4833. "type": "string"
  4834. },
  4835. "contractno": {
  4836. "description": "现货合同编号",
  4837. "type": "string"
  4838. },
  4839. "contracttype": {
  4840. "description": "现货合同类型 - 1:采购 -1:销售",
  4841. "type": "integer"
  4842. },
  4843. "creatorid": {
  4844. "description": "申请人",
  4845. "type": "integer"
  4846. },
  4847. "customeraccountid": {
  4848. "description": "客户资金账户ID",
  4849. "type": "integer"
  4850. },
  4851. "customeruserid": {
  4852. "description": "客户ID",
  4853. "type": "integer"
  4854. },
  4855. "details": {
  4856. "description": "明细",
  4857. "type": "array",
  4858. "items": {
  4859. "$ref": "#/definitions/erms3.SoptContractDetail"
  4860. }
  4861. },
  4862. "orimargin": {
  4863. "description": "初始保证金",
  4864. "type": "number"
  4865. },
  4866. "remark": {
  4867. "description": "备注",
  4868. "type": "string"
  4869. },
  4870. "signdate": {
  4871. "description": "签订日期",
  4872. "type": "string"
  4873. }
  4874. }
  4875. },
  4876. "erms3.AddSpotContractApplyRsp": {
  4877. "type": "object",
  4878. "required": [
  4879. "contractno"
  4880. ],
  4881. "properties": {
  4882. "contractno": {
  4883. "description": "现货合同编号",
  4884. "type": "string"
  4885. },
  4886. "spotcontractid": {
  4887. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  4888. "type": "integer"
  4889. }
  4890. }
  4891. },
  4892. "erms3.AddUserInfoApplyReq": {
  4893. "type": "object",
  4894. "required": [
  4895. "userid"
  4896. ],
  4897. "properties": {
  4898. "accountid": {
  4899. "description": "交易系统帐号Id (加密存储)",
  4900. "type": "integer"
  4901. },
  4902. "areacode": {
  4903. "description": "机构代码",
  4904. "type": "string"
  4905. },
  4906. "areaid": {
  4907. "description": "机构Id",
  4908. "type": "integer"
  4909. },
  4910. "attachment1": {
  4911. "description": "附件1",
  4912. "type": "string"
  4913. },
  4914. "attachment2": {
  4915. "description": "附件2",
  4916. "type": "string"
  4917. },
  4918. "attachment3": {
  4919. "description": "附件3",
  4920. "type": "string"
  4921. },
  4922. "attachment4": {
  4923. "description": "附件4",
  4924. "type": "string"
  4925. },
  4926. "attachment5": {
  4927. "description": "附件5",
  4928. "type": "string"
  4929. },
  4930. "auditedby": {
  4931. "description": "审核人",
  4932. "type": "string"
  4933. },
  4934. "auditime": {
  4935. "description": "审核时间",
  4936. "type": "string"
  4937. },
  4938. "bankaccount": {
  4939. "description": "银行帐号 (加密存储)",
  4940. "type": "string"
  4941. },
  4942. "bankaccountname": {
  4943. "description": "收款人名称",
  4944. "type": "string"
  4945. },
  4946. "bankcardbackphotourl": {
  4947. "description": "银行卡背面照地址",
  4948. "type": "string"
  4949. },
  4950. "bankcardfrontphotourl": {
  4951. "description": "银行卡正面照地址",
  4952. "type": "string"
  4953. },
  4954. "bankid": {
  4955. "description": "银行编码",
  4956. "type": "string"
  4957. },
  4958. "bankname": {
  4959. "description": "银行名称",
  4960. "type": "string"
  4961. },
  4962. "bankpictureurl": {
  4963. "description": "银行卡正面地址",
  4964. "type": "string"
  4965. },
  4966. "biznature": {
  4967. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  4968. "type": "integer"
  4969. },
  4970. "bizscope": {
  4971. "description": "企业经营范围(企业)",
  4972. "type": "string"
  4973. },
  4974. "biztype": {
  4975. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  4976. "type": "integer"
  4977. },
  4978. "brokerid": {
  4979. "description": "经纪人ID(加密存储)",
  4980. "type": "string"
  4981. },
  4982. "cardaddress": {
  4983. "description": "证件地址 (加密存储)",
  4984. "type": "string"
  4985. },
  4986. "cardbackphotourl": {
  4987. "description": "背面证件照地址",
  4988. "type": "string"
  4989. },
  4990. "cardfrontphotourl": {
  4991. "description": "正面证件照地址",
  4992. "type": "string"
  4993. },
  4994. "cardnum": {
  4995. "description": "证件号码 (加密存储)",
  4996. "type": "string"
  4997. },
  4998. "cardtype": {
  4999. "description": "证件类型",
  5000. "type": "integer"
  5001. },
  5002. "cityid": {
  5003. "description": "市",
  5004. "type": "integer"
  5005. },
  5006. "company": {
  5007. "description": "公司(个人)",
  5008. "type": "string"
  5009. },
  5010. "contactcardbackphotourl": {
  5011. "description": "联系人证件背面图片地址",
  5012. "type": "string"
  5013. },
  5014. "contactcardfrontphotourl": {
  5015. "description": "联系人证件正面图片地址",
  5016. "type": "string"
  5017. },
  5018. "contactname": {
  5019. "description": "联系人",
  5020. "type": "string"
  5021. },
  5022. "countryid": {
  5023. "description": "国家",
  5024. "type": "integer"
  5025. },
  5026. "createtime": {
  5027. "description": "开户申请时间",
  5028. "type": "string"
  5029. },
  5030. "cusbankid": {
  5031. "description": "签约类型",
  5032. "type": "string"
  5033. },
  5034. "cusbankname": {
  5035. "description": "签约类型名称",
  5036. "type": "string"
  5037. },
  5038. "customername": {
  5039. "description": "客户名称(企业名称)",
  5040. "type": "string"
  5041. },
  5042. "districtid": {
  5043. "description": "地区",
  5044. "type": "integer"
  5045. },
  5046. "email": {
  5047. "description": "Email地址(加密存储)",
  5048. "type": "string"
  5049. },
  5050. "halfbodyphotourl": {
  5051. "description": "半身照地址",
  5052. "type": "string"
  5053. },
  5054. "headurl": {
  5055. "description": "头像地址",
  5056. "type": "string"
  5057. },
  5058. "ipaddress": {
  5059. "description": "IP地址",
  5060. "type": "string"
  5061. },
  5062. "isvalidate": {
  5063. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5064. "type": "string"
  5065. },
  5066. "legalcardbackphotourl": {
  5067. "description": "法人身份证背面照地址",
  5068. "type": "string"
  5069. },
  5070. "legalcardfrontphotourl": {
  5071. "description": "法人身份证正面照地址",
  5072. "type": "string"
  5073. },
  5074. "legalpersonname": {
  5075. "description": "法人姓名(企业)",
  5076. "type": "string"
  5077. },
  5078. "logincode": {
  5079. "description": "登录帐号 (加密存储)",
  5080. "type": "string"
  5081. },
  5082. "memberareaid": {
  5083. "description": "所属会员ID",
  5084. "type": "integer"
  5085. },
  5086. "mobile2": {
  5087. "description": "手机号码[明文-尚志]",
  5088. "type": "string"
  5089. },
  5090. "mobilephone": {
  5091. "description": "手机号码 (加密存储)",
  5092. "type": "string"
  5093. },
  5094. "modifiedby": {
  5095. "description": "修改人帐号",
  5096. "type": "integer"
  5097. },
  5098. "modifiedtime": {
  5099. "description": "修改时间",
  5100. "type": "string"
  5101. },
  5102. "nickname": {
  5103. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5104. "type": "string"
  5105. },
  5106. "openmode": {
  5107. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5108. "type": "integer"
  5109. },
  5110. "otherurl": {
  5111. "description": "其它图片地址[使用分号分隔]",
  5112. "type": "string"
  5113. },
  5114. "postalcode": {
  5115. "description": "邮政编码",
  5116. "type": "string"
  5117. },
  5118. "provinceid": {
  5119. "description": "省",
  5120. "type": "integer"
  5121. },
  5122. "proxystatementurl": {
  5123. "description": "授权委托书",
  5124. "type": "string"
  5125. },
  5126. "qq": {
  5127. "description": "QQ(加密存储",
  5128. "type": "string"
  5129. },
  5130. "referral": {
  5131. "description": "推荐人编码",
  5132. "type": "string"
  5133. },
  5134. "remark": {
  5135. "description": "备注",
  5136. "type": "string"
  5137. },
  5138. "removebeforestatus": {
  5139. "description": "REMOVEBEFORESTATUS",
  5140. "type": "integer"
  5141. },
  5142. "sex": {
  5143. "description": "性别 - 0:女 1:男",
  5144. "type": "integer"
  5145. },
  5146. "signedstatus": {
  5147. "description": "账户一号签签约状态",
  5148. "type": "integer"
  5149. },
  5150. "signpdfurl": {
  5151. "description": "签约pdf文件",
  5152. "type": "string"
  5153. },
  5154. "subbranch": {
  5155. "description": "开户支行",
  5156. "type": "string"
  5157. },
  5158. "telphone": {
  5159. "description": "联系电话(加密存储)",
  5160. "type": "string"
  5161. },
  5162. "userid": {
  5163. "description": "用户ID(自增ID)",
  5164. "type": "integer"
  5165. },
  5166. "userinfotype": {
  5167. "description": "用户信息类型 - 1:个人 2:企业",
  5168. "type": "integer"
  5169. },
  5170. "username": {
  5171. "description": "用户姓名",
  5172. "type": "string"
  5173. },
  5174. "userstate": {
  5175. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5176. "type": "integer"
  5177. },
  5178. "usertype": {
  5179. "description": "用户类型 - 1:投资者 2:机构",
  5180. "type": "integer"
  5181. },
  5182. "videourl": {
  5183. "description": "视频地址",
  5184. "type": "string"
  5185. },
  5186. "wechat": {
  5187. "description": "微信号 (加密存储)",
  5188. "type": "string"
  5189. }
  5190. }
  5191. },
  5192. "erms3.CustomerInfo": {
  5193. "type": "object",
  5194. "required": [
  5195. "userid"
  5196. ],
  5197. "properties": {
  5198. "accountids": {
  5199. "description": "资金账户ID列表",
  5200. "type": "array",
  5201. "items": {
  5202. "type": "integer"
  5203. }
  5204. },
  5205. "customername": {
  5206. "description": "名称(企业名称)",
  5207. "type": "string"
  5208. },
  5209. "mobile": {
  5210. "description": "手机号码",
  5211. "type": "string"
  5212. },
  5213. "userid": {
  5214. "description": "用户ID",
  5215. "type": "integer"
  5216. }
  5217. }
  5218. },
  5219. "erms3.QryAuditContractRsp": {
  5220. "type": "object",
  5221. "required": [
  5222. "matchcustomername",
  5223. "spotcontractid"
  5224. ],
  5225. "properties": {
  5226. "accountid": {
  5227. "description": "交易员ID",
  5228. "type": "string"
  5229. },
  5230. "applystatus": {
  5231. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5232. "type": "integer"
  5233. },
  5234. "curdeliveryqty": {
  5235. "description": "未交收量",
  5236. "type": "integer"
  5237. },
  5238. "customername": {
  5239. "description": "采购方ID",
  5240. "type": "string"
  5241. },
  5242. "deliverygoodsid": {
  5243. "description": "品种ID",
  5244. "type": "string"
  5245. },
  5246. "deliveryqty": {
  5247. "description": "交收量",
  5248. "type": "integer"
  5249. },
  5250. "enumdicname": {
  5251. "description": "单位名称",
  5252. "type": "string"
  5253. },
  5254. "matchaccountid": {
  5255. "description": "业务员ID",
  5256. "type": "string"
  5257. },
  5258. "matchcustomername": {
  5259. "description": "销售方ID",
  5260. "type": "string"
  5261. },
  5262. "pricedqty": {
  5263. "description": "定价量",
  5264. "type": "number"
  5265. },
  5266. "signdate": {
  5267. "description": "签订日期",
  5268. "type": "string"
  5269. },
  5270. "spotcontractid": {
  5271. "description": "合同ID",
  5272. "type": "string"
  5273. },
  5274. "totaldqty": {
  5275. "description": "合同量",
  5276. "type": "number"
  5277. },
  5278. "unpricedqty": {
  5279. "description": "未定价量",
  5280. "type": "number"
  5281. },
  5282. "wrstandardname": {
  5283. "description": "商品名称",
  5284. "type": "string"
  5285. }
  5286. }
  5287. },
  5288. "erms3.QryPendingBizRsp": {
  5289. "$ref": "#/definitions/models.PendingAuditBizModel"
  5290. },
  5291. "erms3.QueryBusinessInfoRsp": {
  5292. "type": "object",
  5293. "properties": {
  5294. "businessid": {
  5295. "description": "业务ID.",
  5296. "type": "integer"
  5297. },
  5298. "buyamount": {
  5299. "description": "采购额.",
  5300. "type": "number"
  5301. },
  5302. "buyqty": {
  5303. "description": "采购量.",
  5304. "type": "string"
  5305. },
  5306. "futurepl": {
  5307. "description": "期货盈亏.",
  5308. "type": "number"
  5309. },
  5310. "futureqty": {
  5311. "description": "期货敞口.",
  5312. "type": "string"
  5313. },
  5314. "goodsid": {
  5315. "description": "商品名称/商品代码.",
  5316. "type": "string"
  5317. },
  5318. "hedgingqty": {
  5319. "description": "套保量.",
  5320. "type": "string"
  5321. },
  5322. "sellamount": {
  5323. "description": "销售额.",
  5324. "type": "number"
  5325. },
  5326. "sellqty": {
  5327. "description": "销售量.",
  5328. "type": "string"
  5329. },
  5330. "spotmarketvalue": {
  5331. "description": "现货市值.",
  5332. "type": "number"
  5333. },
  5334. "spotpl": {
  5335. "description": "浮动权益.",
  5336. "type": "number"
  5337. },
  5338. "spotqty": {
  5339. "description": "现货量.",
  5340. "type": "string"
  5341. },
  5342. "statu": {
  5343. "description": "状态,0-未结束 1-已结束.",
  5344. "type": "integer"
  5345. },
  5346. "totalpl": {
  5347. "description": "总盈亏.",
  5348. "type": "number"
  5349. },
  5350. "totalqty": {
  5351. "description": "总敞口.",
  5352. "type": "string"
  5353. },
  5354. "type": {
  5355. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  5356. "type": "integer"
  5357. }
  5358. }
  5359. },
  5360. "erms3.QuerySpotContractAppleFormRsp": {
  5361. "type": "object",
  5362. "properties": {
  5363. "goodses": {
  5364. "description": "合约列表",
  5365. "type": "array",
  5366. "items": {
  5367. "$ref": "#/definitions/models.GoodsIDAndName"
  5368. }
  5369. },
  5370. "oppositeusers": {
  5371. "description": "对方账号列表",
  5372. "type": "array",
  5373. "items": {
  5374. "$ref": "#/definitions/erms3.CustomerInfo"
  5375. }
  5376. },
  5377. "ouruser": {
  5378. "description": "我方账号",
  5379. "type": "object",
  5380. "$ref": "#/definitions/erms3.CustomerInfo"
  5381. },
  5382. "warehouseinfos": {
  5383. "description": "仓库信息列表",
  5384. "type": "array",
  5385. "items": {
  5386. "$ref": "#/definitions/models.Warehouseinfo"
  5387. }
  5388. },
  5389. "wrstandards": {
  5390. "description": "仓单标准列表",
  5391. "type": "array",
  5392. "items": {
  5393. "$ref": "#/definitions/models.WRStandardInfo"
  5394. }
  5395. }
  5396. }
  5397. },
  5398. "erms3.QuerySpotContractInfoRsp": {
  5399. "type": "object",
  5400. "properties": {
  5401. "accountid": {
  5402. "description": "表示交易员ID.",
  5403. "type": "integer"
  5404. },
  5405. "curdeliveryqty": {
  5406. "description": "表示未交收量.",
  5407. "type": "number"
  5408. },
  5409. "customername": {
  5410. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  5411. "type": "string"
  5412. },
  5413. "deliverygoodsid": {
  5414. "description": "表示品种ID.",
  5415. "type": "string"
  5416. },
  5417. "deliveryqty": {
  5418. "description": "表示交收量.",
  5419. "type": "number"
  5420. },
  5421. "matchaccountid": {
  5422. "description": "表示业务员ID.",
  5423. "type": "integer"
  5424. },
  5425. "matchcustomername": {
  5426. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  5427. "type": "string"
  5428. },
  5429. "priceqty": {
  5430. "description": "表示定价量.",
  5431. "type": "number"
  5432. },
  5433. "relatedbizid": {
  5434. "description": "表示业务ID.",
  5435. "type": "string"
  5436. },
  5437. "signdate": {
  5438. "description": "表示签订日期.",
  5439. "type": "string"
  5440. },
  5441. "spotcontractid": {
  5442. "description": "合同ID",
  5443. "type": "string"
  5444. },
  5445. "status": {
  5446. "description": "表示状态,0-履约中 1-已完成.",
  5447. "type": "integer"
  5448. },
  5449. "totalqty": {
  5450. "description": "表示合同量.",
  5451. "type": "number"
  5452. },
  5453. "unpricedqty": {
  5454. "description": "表示未定价量.",
  5455. "type": "number"
  5456. },
  5457. "wrstandardname": {
  5458. "description": "表示商品ID.",
  5459. "type": "string"
  5460. }
  5461. }
  5462. },
  5463. "erms3.QueryUserInfoAppliesRsp": {
  5464. "type": "object",
  5465. "required": [
  5466. "userid"
  5467. ],
  5468. "properties": {
  5469. "biznature": {
  5470. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5471. "type": "integer"
  5472. },
  5473. "contactname": {
  5474. "description": "联系人",
  5475. "type": "string"
  5476. },
  5477. "createtime": {
  5478. "description": "开户申请时间",
  5479. "type": "string"
  5480. },
  5481. "userid": {
  5482. "description": "用户ID(自增ID)",
  5483. "type": "integer"
  5484. },
  5485. "userinfotype": {
  5486. "description": "用户信息类型 - 1:个人 2:企业",
  5487. "type": "integer"
  5488. },
  5489. "username": {
  5490. "description": "用户姓名",
  5491. "type": "string"
  5492. },
  5493. "userstate": {
  5494. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5495. "type": "integer"
  5496. }
  5497. }
  5498. },
  5499. "erms3.QueryUserInfosRsp": {
  5500. "type": "object",
  5501. "required": [
  5502. "userid"
  5503. ],
  5504. "properties": {
  5505. "biznature": {
  5506. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5507. "type": "integer"
  5508. },
  5509. "contactname": {
  5510. "description": "联系人",
  5511. "type": "string"
  5512. },
  5513. "customername": {
  5514. "description": "客户名称(企业名称)",
  5515. "type": "string"
  5516. },
  5517. "userid": {
  5518. "description": "用户ID",
  5519. "type": "integer"
  5520. },
  5521. "userinfotype": {
  5522. "description": "用户信息类型 - 1:个人 2:企业",
  5523. "type": "integer"
  5524. },
  5525. "userstatus": {
  5526. "description": "用户状态 - 1:正常 2:注销",
  5527. "type": "integer"
  5528. }
  5529. }
  5530. },
  5531. "erms3.SoptContractDetail": {
  5532. "type": "object",
  5533. "required": [
  5534. "deliverygoodsid",
  5535. "producttype",
  5536. "unitname",
  5537. "warehouseid",
  5538. "wrstandardid",
  5539. "wrstandardname"
  5540. ],
  5541. "properties": {
  5542. "deliverygoodsdesc": {
  5543. "description": "现货品种说明",
  5544. "type": "string"
  5545. },
  5546. "deliverygoodsid": {
  5547. "description": "现货品种ID",
  5548. "type": "integer"
  5549. },
  5550. "deliverygoodsname": {
  5551. "description": "现货品种名称",
  5552. "type": "string"
  5553. },
  5554. "pointdesc": {
  5555. "description": "点价描述",
  5556. "type": "string"
  5557. },
  5558. "producttype": {
  5559. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  5560. "type": "integer"
  5561. },
  5562. "producttypename": {
  5563. "description": "产品类型名称",
  5564. "type": "string"
  5565. },
  5566. "spotPointOrderVoList": {
  5567. "description": "点价列表",
  5568. "type": "array",
  5569. "items": {
  5570. "$ref": "#/definitions/erms3.SpotPointOrder"
  5571. }
  5572. },
  5573. "spotPriceOrderList": {
  5574. "description": "定价列表",
  5575. "type": "array",
  5576. "items": {
  5577. "$ref": "#/definitions/erms3.SpotPriceOrder"
  5578. }
  5579. },
  5580. "unitname": {
  5581. "description": "单位名称",
  5582. "type": "string"
  5583. },
  5584. "warehouseid": {
  5585. "description": "仓库ID",
  5586. "type": "integer"
  5587. },
  5588. "warehousename": {
  5589. "description": "仓库名称",
  5590. "type": "string"
  5591. },
  5592. "wrstandardid": {
  5593. "description": "交易标的ID",
  5594. "type": "integer"
  5595. },
  5596. "wrstandardname": {
  5597. "description": "交易标的名称",
  5598. "type": "string"
  5599. }
  5600. }
  5601. },
  5602. "erms3.SpotPointOrder": {
  5603. "type": "object",
  5604. "required": [
  5605. "basic",
  5606. "goodsid",
  5607. "qty"
  5608. ],
  5609. "properties": {
  5610. "basic": {
  5611. "description": "基差",
  5612. "type": "number"
  5613. },
  5614. "deliveryendtdate": {
  5615. "description": "交收结束日期",
  5616. "type": "string"
  5617. },
  5618. "deliverystartdate": {
  5619. "description": "交收开始日期",
  5620. "type": "string"
  5621. },
  5622. "enddate": {
  5623. "description": "点价结束日期",
  5624. "type": "string"
  5625. },
  5626. "goodsid": {
  5627. "description": "商品ID",
  5628. "type": "integer"
  5629. },
  5630. "goodsname": {
  5631. "description": "商品名称",
  5632. "type": "string"
  5633. },
  5634. "qty": {
  5635. "description": "数量",
  5636. "type": "number"
  5637. },
  5638. "startdate": {
  5639. "description": "点价开始日期",
  5640. "type": "string"
  5641. }
  5642. }
  5643. },
  5644. "erms3.SpotPriceOrder": {
  5645. "type": "object",
  5646. "required": [
  5647. "amount",
  5648. "price",
  5649. "qty"
  5650. ],
  5651. "properties": {
  5652. "amount": {
  5653. "description": "金额",
  5654. "type": "number"
  5655. },
  5656. "deliveryendtdate": {
  5657. "description": "交收结束日期",
  5658. "type": "string"
  5659. },
  5660. "deliverystartdate": {
  5661. "description": "交收开始日期",
  5662. "type": "string"
  5663. },
  5664. "price": {
  5665. "description": "价格",
  5666. "type": "number"
  5667. },
  5668. "qty": {
  5669. "description": "数量",
  5670. "type": "number"
  5671. }
  5672. }
  5673. },
  5674. "hsby.GetHsbyMyCountRsp": {
  5675. "type": "object",
  5676. "properties": {
  5677. "myOrderDetailListingCount": {
  5678. "description": "我的订单求购中数量",
  5679. "type": "integer"
  5680. },
  5681. "myOrderDetailPreCount": {
  5682. "description": "我的订单抢购中数量",
  5683. "type": "integer"
  5684. },
  5685. "myPackageUnReceiveCount": {
  5686. "description": "我的包裹待收货数量",
  5687. "type": "integer"
  5688. },
  5689. "myPackageUnSendCount": {
  5690. "description": "我的包裹待发货数量",
  5691. "type": "integer"
  5692. }
  5693. }
  5694. },
  5695. "hsby.QueryProvincesAndCitiesRsp": {
  5696. "type": "object",
  5697. "properties": {
  5698. "cities": {
  5699. "description": "市",
  5700. "type": "array",
  5701. "items": {
  5702. "$ref": "#/definitions/models.Division"
  5703. }
  5704. },
  5705. "province": {
  5706. "description": "省",
  5707. "type": "object",
  5708. "$ref": "#/definitions/models.Division"
  5709. }
  5710. }
  5711. },
  5712. "models.Division": {
  5713. "type": "object",
  5714. "required": [
  5715. "autoid",
  5716. "divisioncode"
  5717. ],
  5718. "properties": {
  5719. "autoid": {
  5720. "description": "自增ID",
  5721. "type": "integer"
  5722. },
  5723. "divisioncode": {
  5724. "description": "行政代码",
  5725. "type": "string"
  5726. },
  5727. "divisionlevel": {
  5728. "description": "行政级别",
  5729. "type": "string"
  5730. },
  5731. "divisionname": {
  5732. "description": "行政名称",
  5733. "type": "string"
  5734. },
  5735. "modifierid": {
  5736. "description": "修改人",
  5737. "type": "integer"
  5738. },
  5739. "modifytime": {
  5740. "description": "修改时间",
  5741. "type": "string"
  5742. },
  5743. "parentcode": {
  5744. "description": "上级行政代码",
  5745. "type": "string"
  5746. },
  5747. "pathname": {
  5748. "description": "路径名称",
  5749. "type": "string"
  5750. },
  5751. "postcode": {
  5752. "description": "邮政编码",
  5753. "type": "string"
  5754. },
  5755. "separablename": {
  5756. "description": "可拆分的全称",
  5757. "type": "string"
  5758. },
  5759. "shortcode": {
  5760. "description": "地区简码",
  5761. "type": "string"
  5762. }
  5763. }
  5764. },
  5765. "models.Enumdicitem": {
  5766. "type": "object",
  5767. "required": [
  5768. "autoid",
  5769. "enumdiccode",
  5770. "enumdicid",
  5771. "enumitemname"
  5772. ],
  5773. "properties": {
  5774. "autoid": {
  5775. "description": "自增ID",
  5776. "type": "integer"
  5777. },
  5778. "bankmappedvalue": {
  5779. "description": "银行服务对应值",
  5780. "type": "string"
  5781. },
  5782. "enumdiccode": {
  5783. "description": "所属枚举代码",
  5784. "type": "string"
  5785. },
  5786. "enumdicid": {
  5787. "description": "所属枚举ID",
  5788. "type": "integer"
  5789. },
  5790. "enumdicname": {
  5791. "description": "枚举项名称",
  5792. "type": "string"
  5793. },
  5794. "enumitemname": {
  5795. "description": "枚举项值",
  5796. "type": "integer"
  5797. },
  5798. "enumitemstatus": {
  5799. "description": "枚举项状态 - 1.启用 2.不启用",
  5800. "type": "integer"
  5801. },
  5802. "enumitemvalue": {
  5803. "description": "通用值 - [币种通用简写]",
  5804. "type": "string"
  5805. },
  5806. "param1": {
  5807. "description": "参数1[币种:币种小数位]",
  5808. "type": "string"
  5809. },
  5810. "param2": {
  5811. "description": "参数1[币种:币种显示单位]",
  5812. "type": "string"
  5813. },
  5814. "remark": {
  5815. "description": "备注",
  5816. "type": "string"
  5817. }
  5818. }
  5819. },
  5820. "models.GoodsIDAndName": {
  5821. "type": "object",
  5822. "required": [
  5823. "goodscode",
  5824. "goodsid",
  5825. "goodsname",
  5826. "marketid"
  5827. ],
  5828. "properties": {
  5829. "goodscode": {
  5830. "description": "商品代码(内部)",
  5831. "type": "string"
  5832. },
  5833. "goodsid": {
  5834. "description": "商品ID(自增ID SEQ_GOODS)",
  5835. "type": "integer"
  5836. },
  5837. "goodsname": {
  5838. "description": "商品名称",
  5839. "type": "string"
  5840. },
  5841. "marketid": {
  5842. "description": "所属市场ID",
  5843. "type": "integer"
  5844. }
  5845. }
  5846. },
  5847. "models.HsbyBuyMyTradeDetail": {
  5848. "type": "object",
  5849. "required": [
  5850. "accountid",
  5851. "buyorsell",
  5852. "goodscode",
  5853. "goodsid",
  5854. "goodsname",
  5855. "marketid",
  5856. "orderid",
  5857. "qty",
  5858. "time",
  5859. "trademode"
  5860. ],
  5861. "properties": {
  5862. "accountid": {
  5863. "description": "账户ID[报价币种]",
  5864. "type": "integer"
  5865. },
  5866. "agreeunit": {
  5867. "description": "合约单位",
  5868. "type": "number"
  5869. },
  5870. "amount": {
  5871. "description": "金额 = 价格 * 数量 * 合约单位",
  5872. "type": "number"
  5873. },
  5874. "buyorsell": {
  5875. "description": "买卖 - 0:买 1:卖",
  5876. "type": "integer"
  5877. },
  5878. "currencysign": {
  5879. "description": "货币符号",
  5880. "type": "string"
  5881. },
  5882. "decimalplace": {
  5883. "description": "报价小数位",
  5884. "type": "integer"
  5885. },
  5886. "goodscode": {
  5887. "description": "商品代码(内部)",
  5888. "type": "string"
  5889. },
  5890. "goodsid": {
  5891. "description": "商品ID",
  5892. "type": "integer"
  5893. },
  5894. "goodsname": {
  5895. "description": "商品名称",
  5896. "type": "string"
  5897. },
  5898. "marketid": {
  5899. "description": "市场ID",
  5900. "type": "integer"
  5901. },
  5902. "orderid": {
  5903. "description": "单号(成交单号)",
  5904. "type": "string"
  5905. },
  5906. "picurls1": {
  5907. "description": "预售商品介绍图片[多张用逗号分隔]",
  5908. "type": "string"
  5909. },
  5910. "picurls2": {
  5911. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5912. "type": "string"
  5913. },
  5914. "price": {
  5915. "description": "价格",
  5916. "type": "number"
  5917. },
  5918. "qty": {
  5919. "description": "数量",
  5920. "type": "integer"
  5921. },
  5922. "time": {
  5923. "description": "时间",
  5924. "type": "string"
  5925. },
  5926. "trademode": {
  5927. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5928. "type": "integer"
  5929. },
  5930. "vendorname1": {
  5931. "description": "预售商品供应商名称",
  5932. "type": "string"
  5933. },
  5934. "vendorname2": {
  5935. "description": "挂牌商品供应商名称",
  5936. "type": "string"
  5937. }
  5938. }
  5939. },
  5940. "models.HsbyGoodsOrderDetail": {
  5941. "type": "object",
  5942. "required": [
  5943. "buyorsell",
  5944. "orderid",
  5945. "ordertime"
  5946. ],
  5947. "properties": {
  5948. "buyorsell": {
  5949. "description": "买卖 - 0:买 1:卖",
  5950. "type": "integer"
  5951. },
  5952. "currencysign": {
  5953. "description": "货币符号",
  5954. "type": "string"
  5955. },
  5956. "customername": {
  5957. "description": "客户名称(企业名称),已脱敏",
  5958. "type": "string"
  5959. },
  5960. "enableqty": {
  5961. "description": "可用数量",
  5962. "type": "integer"
  5963. },
  5964. "goodunit": {
  5965. "description": "报价单位",
  5966. "type": "string"
  5967. },
  5968. "orderid": {
  5969. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5970. "type": "string"
  5971. },
  5972. "orderprice": {
  5973. "description": "委托价格",
  5974. "type": "number"
  5975. },
  5976. "ordertime": {
  5977. "description": "委托时间",
  5978. "type": "string"
  5979. }
  5980. }
  5981. },
  5982. "models.HsbyListingGoodsDetail": {
  5983. "type": "object",
  5984. "required": [
  5985. "goodscode",
  5986. "goodsid",
  5987. "goodsname",
  5988. "marketid",
  5989. "trademode"
  5990. ],
  5991. "properties": {
  5992. "agreeunit": {
  5993. "description": "合约单位",
  5994. "type": "number"
  5995. },
  5996. "currency": {
  5997. "description": "货币",
  5998. "type": "string"
  5999. },
  6000. "currencysign": {
  6001. "description": "货币符号",
  6002. "type": "string"
  6003. },
  6004. "decimalplace": {
  6005. "description": "报价小数位",
  6006. "type": "integer"
  6007. },
  6008. "desccityid": {
  6009. "description": "目的地(市)ID",
  6010. "type": "integer"
  6011. },
  6012. "descprovinceid": {
  6013. "description": "目的地(省)ID",
  6014. "type": "integer"
  6015. },
  6016. "goodscode": {
  6017. "description": "商品代码(内部)",
  6018. "type": "string"
  6019. },
  6020. "goodsdesc": {
  6021. "description": "商品详情",
  6022. "type": "string"
  6023. },
  6024. "goodsid": {
  6025. "description": "商品ID(自增ID SEQ_GOODS)",
  6026. "type": "integer"
  6027. },
  6028. "goodsname": {
  6029. "description": "商品名称",
  6030. "type": "string"
  6031. },
  6032. "hotindex": {
  6033. "description": "景点热度",
  6034. "type": "integer"
  6035. },
  6036. "last": {
  6037. "description": "现价",
  6038. "type": "number"
  6039. },
  6040. "limitdown": {
  6041. "description": "跌停价",
  6042. "type": "number"
  6043. },
  6044. "limitup": {
  6045. "description": "涨停价",
  6046. "type": "number"
  6047. },
  6048. "lotsize": {
  6049. "description": "手数最小变动单位",
  6050. "type": "integer"
  6051. },
  6052. "marketid": {
  6053. "description": "所属市场ID",
  6054. "type": "integer"
  6055. },
  6056. "picurls": {
  6057. "description": "介绍图片[多张用逗号分隔]",
  6058. "type": "string"
  6059. },
  6060. "quoteminunit": {
  6061. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6062. "type": "integer"
  6063. },
  6064. "stepvalue": {
  6065. "description": "价格最小变动单位",
  6066. "type": "number"
  6067. },
  6068. "trademode": {
  6069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6070. "type": "integer"
  6071. },
  6072. "vendorattr": {
  6073. "description": "供应商附件(多张,逗号分隔)",
  6074. "type": "string"
  6075. },
  6076. "vendorname": {
  6077. "description": "供应商名称",
  6078. "type": "string"
  6079. },
  6080. "vendorphone": {
  6081. "description": "供应商客服电话",
  6082. "type": "string"
  6083. },
  6084. "videourls": {
  6085. "description": "介绍视频[多张用逗号分隔]",
  6086. "type": "string"
  6087. }
  6088. }
  6089. },
  6090. "models.HsbyMyGoods": {
  6091. "type": "object",
  6092. "required": [
  6093. "accountid",
  6094. "goodscode",
  6095. "goodsid",
  6096. "goodsname"
  6097. ],
  6098. "properties": {
  6099. "accountid": {
  6100. "description": "账号Id",
  6101. "type": "integer"
  6102. },
  6103. "agreeunit": {
  6104. "description": "合约单位",
  6105. "type": "number"
  6106. },
  6107. "buyaverageprice": {
  6108. "description": "持仓均价",
  6109. "type": "number"
  6110. },
  6111. "buycurholderamount": {
  6112. "description": "买当前持仓总金额[商品币种]",
  6113. "type": "number"
  6114. },
  6115. "buycurpositionqty": {
  6116. "description": "买当前持仓总数量",
  6117. "type": "integer"
  6118. },
  6119. "currencysign": {
  6120. "description": "货币符号",
  6121. "type": "string"
  6122. },
  6123. "decimalplace": {
  6124. "description": "报价小数位",
  6125. "type": "integer"
  6126. },
  6127. "enableqty": {
  6128. "description": "可用数量",
  6129. "type": "integer"
  6130. },
  6131. "goodscode": {
  6132. "description": "商品代码(内部)",
  6133. "type": "string"
  6134. },
  6135. "goodsid": {
  6136. "description": "商品Id",
  6137. "type": "integer"
  6138. },
  6139. "goodsname": {
  6140. "description": "商品名称",
  6141. "type": "string"
  6142. },
  6143. "goodsstatus": {
  6144. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  6145. "type": "integer"
  6146. },
  6147. "picurls": {
  6148. "description": "介绍图片[多张用逗号分隔]",
  6149. "type": "string"
  6150. }
  6151. }
  6152. },
  6153. "models.HsbyMyPackage": {
  6154. "type": "object",
  6155. "required": [
  6156. "goodscode",
  6157. "goodsname",
  6158. "takeorderid"
  6159. ],
  6160. "properties": {
  6161. "accountid": {
  6162. "description": "账户ID",
  6163. "type": "integer"
  6164. },
  6165. "address": {
  6166. "description": "提货人详细地址",
  6167. "type": "string"
  6168. },
  6169. "agreeunit": {
  6170. "description": "合约单位",
  6171. "type": "number"
  6172. },
  6173. "amount": {
  6174. "description": "提货金额",
  6175. "type": "number"
  6176. },
  6177. "auditer": {
  6178. "description": "审核人",
  6179. "type": "integer"
  6180. },
  6181. "audittime": {
  6182. "description": "审核时间",
  6183. "type": "string"
  6184. },
  6185. "averageprice": {
  6186. "description": "均价",
  6187. "type": "number"
  6188. },
  6189. "cardnum": {
  6190. "description": "提货人证件号码",
  6191. "type": "string"
  6192. },
  6193. "cardtypeid": {
  6194. "description": "提货人证件类型",
  6195. "type": "integer"
  6196. },
  6197. "checkremark": {
  6198. "description": "审核备注",
  6199. "type": "string"
  6200. },
  6201. "currencysign": {
  6202. "description": "货币符号",
  6203. "type": "string"
  6204. },
  6205. "decimalplace": {
  6206. "description": "报价小数位",
  6207. "type": "integer"
  6208. },
  6209. "goodscode": {
  6210. "description": "商品代码(内部)",
  6211. "type": "string"
  6212. },
  6213. "goodsid": {
  6214. "description": "商品ID",
  6215. "type": "integer"
  6216. },
  6217. "goodsname": {
  6218. "description": "商品名称",
  6219. "type": "string"
  6220. },
  6221. "handlestatus": {
  6222. "description": "处理状态",
  6223. "type": "integer"
  6224. },
  6225. "marketid": {
  6226. "description": "市场ID",
  6227. "type": "integer"
  6228. },
  6229. "phonenum": {
  6230. "description": "提货人联系方式",
  6231. "type": "string"
  6232. },
  6233. "picurls": {
  6234. "description": "介绍图片[多张用逗号分隔]",
  6235. "type": "string"
  6236. },
  6237. "qty": {
  6238. "description": "提货数量",
  6239. "type": "number"
  6240. },
  6241. "recivername": {
  6242. "description": "提货人姓名",
  6243. "type": "string"
  6244. },
  6245. "reqtime": {
  6246. "description": "更新时间",
  6247. "type": "string"
  6248. },
  6249. "takemode": {
  6250. "description": "提货方式 - 2:自提 3:配送",
  6251. "type": "integer"
  6252. },
  6253. "takeorderid": {
  6254. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  6255. "type": "string"
  6256. },
  6257. "takeorderstatus": {
  6258. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6259. "type": "integer"
  6260. },
  6261. "takeremark": {
  6262. "description": "提货备注",
  6263. "type": "string"
  6264. },
  6265. "tradedate": {
  6266. "description": "交易日(yyyyMMdd)",
  6267. "type": "string"
  6268. },
  6269. "userid": {
  6270. "description": "用户ID",
  6271. "type": "integer"
  6272. },
  6273. "vendorname": {
  6274. "description": "供应商名称",
  6275. "type": "string"
  6276. }
  6277. }
  6278. },
  6279. "models.HsbyPreGoods": {
  6280. "type": "object",
  6281. "required": [
  6282. "goodscode",
  6283. "goodsid",
  6284. "goodsname",
  6285. "marketid",
  6286. "trademode"
  6287. ],
  6288. "properties": {
  6289. "agreeunit": {
  6290. "description": "合约单位",
  6291. "type": "number"
  6292. },
  6293. "currency": {
  6294. "description": "货币",
  6295. "type": "string"
  6296. },
  6297. "currencysign": {
  6298. "description": "货币符号",
  6299. "type": "string"
  6300. },
  6301. "decimalplace": {
  6302. "description": "报价小数位",
  6303. "type": "integer"
  6304. },
  6305. "enableqty": {
  6306. "description": "剩余数量",
  6307. "type": "integer"
  6308. },
  6309. "goodscode": {
  6310. "description": "商品代码(内部)",
  6311. "type": "string"
  6312. },
  6313. "goodsid": {
  6314. "description": "商品ID(自增ID SEQ_GOODS)",
  6315. "type": "integer"
  6316. },
  6317. "goodsname": {
  6318. "description": "商品名称",
  6319. "type": "string"
  6320. },
  6321. "goodsstatus": {
  6322. "description": "商品状态- 2:未上市 3:上市",
  6323. "type": "integer"
  6324. },
  6325. "lasttradedate": {
  6326. "description": "最后交易日期(状态:待退市)",
  6327. "type": "string"
  6328. },
  6329. "listingdate": {
  6330. "description": "交易开始日期",
  6331. "type": "string"
  6332. },
  6333. "marketid": {
  6334. "description": "所属市场ID",
  6335. "type": "integer"
  6336. },
  6337. "picurls": {
  6338. "description": "介绍图片[多张用逗号分隔]",
  6339. "type": "string"
  6340. },
  6341. "presaledqty": {
  6342. "description": "已预售量(预售结束时更新)",
  6343. "type": "integer"
  6344. },
  6345. "presaleqty": {
  6346. "description": "预售数量",
  6347. "type": "integer"
  6348. },
  6349. "quoteminunit": {
  6350. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6351. "type": "integer"
  6352. },
  6353. "refprice": {
  6354. "description": "参考价格[一口价]",
  6355. "type": "number"
  6356. },
  6357. "relatedgoodsid": {
  6358. "description": "关联交易合约ID",
  6359. "type": "integer"
  6360. },
  6361. "trademode": {
  6362. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6363. "type": "integer"
  6364. },
  6365. "videourls": {
  6366. "description": "介绍视频[多张用逗号分隔]",
  6367. "type": "string"
  6368. }
  6369. }
  6370. },
  6371. "models.HsbyPreGoodsDetail": {
  6372. "type": "object",
  6373. "required": [
  6374. "goodscode",
  6375. "goodsid",
  6376. "goodsname",
  6377. "marketid",
  6378. "trademode"
  6379. ],
  6380. "properties": {
  6381. "agreeunit": {
  6382. "description": "合约单位",
  6383. "type": "number"
  6384. },
  6385. "buymaxqty": {
  6386. "description": "购买上限 [71] - 0为不限",
  6387. "type": "integer"
  6388. },
  6389. "currency": {
  6390. "description": "货币",
  6391. "type": "string"
  6392. },
  6393. "currencysign": {
  6394. "description": "货币符号",
  6395. "type": "string"
  6396. },
  6397. "customername": {
  6398. "description": "发行单位",
  6399. "type": "string"
  6400. },
  6401. "decimalplace": {
  6402. "description": "报价小数位",
  6403. "type": "integer"
  6404. },
  6405. "desccityid": {
  6406. "description": "目的地(市)ID",
  6407. "type": "integer"
  6408. },
  6409. "descprovinceid": {
  6410. "description": "目的地(省)ID",
  6411. "type": "integer"
  6412. },
  6413. "enableqty": {
  6414. "description": "剩余数量",
  6415. "type": "integer"
  6416. },
  6417. "goodscode": {
  6418. "description": "商品代码(内部)",
  6419. "type": "string"
  6420. },
  6421. "goodsdesc": {
  6422. "description": "商品详情",
  6423. "type": "string"
  6424. },
  6425. "goodsid": {
  6426. "description": "商品ID(自增ID SEQ_GOODS)",
  6427. "type": "integer"
  6428. },
  6429. "goodsname": {
  6430. "description": "商品名称",
  6431. "type": "string"
  6432. },
  6433. "goodsstatus": {
  6434. "description": "商品状态- 2:未上市 3:上市",
  6435. "type": "integer"
  6436. },
  6437. "goodunit": {
  6438. "description": "报价单位",
  6439. "type": "string"
  6440. },
  6441. "lasttradedate": {
  6442. "description": "最后交易日期(状态:待退市)",
  6443. "type": "string"
  6444. },
  6445. "listingdate": {
  6446. "description": "交易开始日期",
  6447. "type": "string"
  6448. },
  6449. "lotsize": {
  6450. "description": "手数最小变动单位",
  6451. "type": "integer"
  6452. },
  6453. "marketid": {
  6454. "description": "所属市场ID",
  6455. "type": "integer"
  6456. },
  6457. "picurls": {
  6458. "description": "介绍图片[多张用逗号分隔]",
  6459. "type": "string"
  6460. },
  6461. "presaledqty": {
  6462. "description": "已预售量(预售结束时更新)",
  6463. "type": "integer"
  6464. },
  6465. "presaleqty": {
  6466. "description": "预售数量",
  6467. "type": "integer"
  6468. },
  6469. "quoteminunit": {
  6470. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6471. "type": "integer"
  6472. },
  6473. "refprice": {
  6474. "description": "参考价格[一口价]",
  6475. "type": "number"
  6476. },
  6477. "relatedgoodsid": {
  6478. "description": "关联交易合约ID",
  6479. "type": "integer"
  6480. },
  6481. "stepvalue": {
  6482. "description": "价格最小变动单位",
  6483. "type": "number"
  6484. },
  6485. "trademode": {
  6486. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6487. "type": "integer"
  6488. },
  6489. "vendorattr": {
  6490. "description": "供应商附件(多张,逗号分隔)",
  6491. "type": "string"
  6492. },
  6493. "vendorname": {
  6494. "description": "供应商名称",
  6495. "type": "string"
  6496. },
  6497. "vendorphone": {
  6498. "description": "供应商客服电话",
  6499. "type": "string"
  6500. },
  6501. "videourls": {
  6502. "description": "介绍视频[多张用逗号分隔]",
  6503. "type": "string"
  6504. }
  6505. }
  6506. },
  6507. "models.HsbySellMyDetail": {
  6508. "type": "object",
  6509. "required": [
  6510. "accountid",
  6511. "buyorsell",
  6512. "goodscode",
  6513. "goodsid",
  6514. "goodsname",
  6515. "marketid",
  6516. "orderid",
  6517. "qty",
  6518. "time",
  6519. "trademode"
  6520. ],
  6521. "properties": {
  6522. "accountid": {
  6523. "description": "账户ID[报价币种]",
  6524. "type": "integer"
  6525. },
  6526. "agreeunit": {
  6527. "description": "合约单位",
  6528. "type": "number"
  6529. },
  6530. "amount": {
  6531. "description": "金额 = 价格 * 数量 * 合约单位",
  6532. "type": "number"
  6533. },
  6534. "buyorsell": {
  6535. "description": "买卖 - 0:买 1:卖",
  6536. "type": "integer"
  6537. },
  6538. "currencysign": {
  6539. "description": "货币符号",
  6540. "type": "string"
  6541. },
  6542. "decimalplace": {
  6543. "description": "报价小数位",
  6544. "type": "integer"
  6545. },
  6546. "goodscode": {
  6547. "description": "商品代码(内部)",
  6548. "type": "string"
  6549. },
  6550. "goodsid": {
  6551. "description": "商品ID",
  6552. "type": "integer"
  6553. },
  6554. "goodsname": {
  6555. "description": "商品名称",
  6556. "type": "string"
  6557. },
  6558. "marketid": {
  6559. "description": "市场ID",
  6560. "type": "integer"
  6561. },
  6562. "orderid": {
  6563. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  6564. "type": "string"
  6565. },
  6566. "ordertype": {
  6567. "description": "单据类型:0 - 已发布, 1 - 已完成",
  6568. "type": "integer"
  6569. },
  6570. "picurls": {
  6571. "description": "介绍图片[多张用逗号分隔]",
  6572. "type": "string"
  6573. },
  6574. "price": {
  6575. "description": "价格",
  6576. "type": "number"
  6577. },
  6578. "qty": {
  6579. "description": "数量",
  6580. "type": "integer"
  6581. },
  6582. "time": {
  6583. "description": "时间",
  6584. "type": "string"
  6585. },
  6586. "trademode": {
  6587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6588. "type": "integer"
  6589. },
  6590. "vendorname": {
  6591. "description": "供应商名称",
  6592. "type": "string"
  6593. }
  6594. }
  6595. },
  6596. "models.HsbyTopGoods": {
  6597. "type": "object",
  6598. "required": [
  6599. "goodscode",
  6600. "goodsid",
  6601. "goodsname",
  6602. "marketid",
  6603. "trademode"
  6604. ],
  6605. "properties": {
  6606. "agreeunit": {
  6607. "description": "合约单位",
  6608. "type": "number"
  6609. },
  6610. "currency": {
  6611. "description": "货币",
  6612. "type": "string"
  6613. },
  6614. "currencysign": {
  6615. "description": "货币符号",
  6616. "type": "string"
  6617. },
  6618. "decimalplace": {
  6619. "description": "报价小数位",
  6620. "type": "integer"
  6621. },
  6622. "goodscode": {
  6623. "description": "商品代码(内部)",
  6624. "type": "string"
  6625. },
  6626. "goodsid": {
  6627. "description": "商品ID(自增ID SEQ_GOODS)",
  6628. "type": "integer"
  6629. },
  6630. "goodsname": {
  6631. "description": "商品名称",
  6632. "type": "string"
  6633. },
  6634. "hotindex": {
  6635. "description": "景点热度",
  6636. "type": "integer"
  6637. },
  6638. "last": {
  6639. "description": "现价",
  6640. "type": "number"
  6641. },
  6642. "marketid": {
  6643. "description": "所属市场ID",
  6644. "type": "integer"
  6645. },
  6646. "picurls": {
  6647. "description": "介绍图片[多张用逗号分隔]",
  6648. "type": "string"
  6649. },
  6650. "quoteminunit": {
  6651. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6652. "type": "integer"
  6653. },
  6654. "trademode": {
  6655. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6656. "type": "integer"
  6657. },
  6658. "videourls": {
  6659. "description": "介绍视频[多张用逗号分隔]",
  6660. "type": "string"
  6661. }
  6662. }
  6663. },
  6664. "models.HybsMyBuyOrderDetail": {
  6665. "type": "object",
  6666. "required": [
  6667. "accountid",
  6668. "buyorsell",
  6669. "goodscode",
  6670. "goodsid",
  6671. "goodsname",
  6672. "marketid",
  6673. "orderid",
  6674. "orderqty",
  6675. "ordertime",
  6676. "trademode"
  6677. ],
  6678. "properties": {
  6679. "accountid": {
  6680. "description": "账户ID[报价币种]",
  6681. "type": "integer"
  6682. },
  6683. "agreeunit": {
  6684. "description": "合约单位",
  6685. "type": "number"
  6686. },
  6687. "buyorsell": {
  6688. "description": "买卖 - 0:买 1:卖",
  6689. "type": "integer"
  6690. },
  6691. "cancelqty": {
  6692. "description": "撤单数量",
  6693. "type": "integer"
  6694. },
  6695. "currencysign": {
  6696. "description": "货币符号",
  6697. "type": "string"
  6698. },
  6699. "decimalplace": {
  6700. "description": "报价小数位",
  6701. "type": "integer"
  6702. },
  6703. "goodscode": {
  6704. "description": "商品代码(内部)",
  6705. "type": "string"
  6706. },
  6707. "goodsid": {
  6708. "description": "商品ID",
  6709. "type": "integer"
  6710. },
  6711. "goodsname": {
  6712. "description": "商品名称",
  6713. "type": "string"
  6714. },
  6715. "listingselecttype": {
  6716. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6717. "type": "integer"
  6718. },
  6719. "marketid": {
  6720. "description": "市场ID",
  6721. "type": "integer"
  6722. },
  6723. "mybuystatus": {
  6724. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  6725. "type": "integer"
  6726. },
  6727. "orderamount": {
  6728. "description": "委托金额",
  6729. "type": "number"
  6730. },
  6731. "orderid": {
  6732. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6733. "type": "string"
  6734. },
  6735. "orderprice": {
  6736. "description": "委托价格",
  6737. "type": "number"
  6738. },
  6739. "orderqty": {
  6740. "description": "委托数量",
  6741. "type": "integer"
  6742. },
  6743. "orderstatus": {
  6744. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6745. "type": "integer"
  6746. },
  6747. "ordertime": {
  6748. "description": "委托时间",
  6749. "type": "string"
  6750. },
  6751. "picurls1": {
  6752. "description": "预售商品介绍图片[多张用逗号分隔]",
  6753. "type": "string"
  6754. },
  6755. "picurls2": {
  6756. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6757. "type": "string"
  6758. },
  6759. "trademode": {
  6760. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6761. "type": "integer"
  6762. },
  6763. "tradeqty": {
  6764. "description": "成交数量",
  6765. "type": "integer"
  6766. },
  6767. "vendorname1": {
  6768. "description": "预售商品供应商名称",
  6769. "type": "string"
  6770. },
  6771. "vendorname2": {
  6772. "description": "挂牌商品供应商名称",
  6773. "type": "string"
  6774. }
  6775. }
  6776. },
  6777. "models.Messageboard": {
  6778. "type": "object",
  6779. "required": [
  6780. "messageboardid"
  6781. ],
  6782. "properties": {
  6783. "createtime": {
  6784. "description": "创建时间",
  6785. "type": "string"
  6786. },
  6787. "message": {
  6788. "description": "留言信息",
  6789. "type": "string"
  6790. },
  6791. "messageboardid": {
  6792. "description": "留言簿ID(SEQ_MessageBoard)",
  6793. "type": "integer"
  6794. },
  6795. "userid": {
  6796. "description": "用户ID",
  6797. "type": "integer"
  6798. }
  6799. }
  6800. },
  6801. "models.OperationPrimaryMenu": {
  6802. "type": "object",
  6803. "properties": {
  6804. "Children": {
  6805. "description": "二级功能菜单",
  6806. "type": "array",
  6807. "items": {
  6808. "$ref": "#/definitions/models.OperationSecondaryMenu"
  6809. }
  6810. },
  6811. "Key": {
  6812. "description": "菜单KEY",
  6813. "type": "string"
  6814. },
  6815. "Label": {
  6816. "description": "菜单标题",
  6817. "type": "string"
  6818. }
  6819. }
  6820. },
  6821. "models.OperationSecondaryMenu": {
  6822. "type": "object",
  6823. "properties": {
  6824. "Key": {
  6825. "description": "菜单KEY",
  6826. "type": "string"
  6827. },
  6828. "Label": {
  6829. "description": "菜单标题",
  6830. "type": "string"
  6831. },
  6832. "TabList": {
  6833. "description": "三级功能菜单",
  6834. "type": "array",
  6835. "items": {
  6836. "$ref": "#/definitions/models.OperationTabMenu"
  6837. }
  6838. }
  6839. }
  6840. },
  6841. "models.OperationTabMenu": {
  6842. "type": "object",
  6843. "properties": {
  6844. "Key": {
  6845. "description": "菜单KEY",
  6846. "type": "string"
  6847. },
  6848. "Label": {
  6849. "description": "菜单标题",
  6850. "type": "string"
  6851. }
  6852. }
  6853. },
  6854. "models.PendingAuditBizModel": {
  6855. "type": "object",
  6856. "properties": {
  6857. "accountid": {
  6858. "description": "现货账户",
  6859. "type": "string"
  6860. },
  6861. "areaname": {
  6862. "description": "所属部门",
  6863. "type": "string"
  6864. },
  6865. "businessid": {
  6866. "description": "业务ID",
  6867. "type": "string"
  6868. },
  6869. "businessname": {
  6870. "description": "业务名称",
  6871. "type": "string"
  6872. },
  6873. "statu": {
  6874. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6875. "type": "integer"
  6876. },
  6877. "type": {
  6878. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  6879. "type": "integer"
  6880. }
  6881. }
  6882. },
  6883. "models.QuotePrimaryMenu": {
  6884. "type": "object",
  6885. "properties": {
  6886. "Index": {
  6887. "description": "序号",
  6888. "type": "integer"
  6889. },
  6890. "Key": {
  6891. "description": "键名",
  6892. "type": "string"
  6893. },
  6894. "Name": {
  6895. "description": "菜单名称",
  6896. "type": "string"
  6897. },
  6898. "SubMenus": {
  6899. "description": "子菜单",
  6900. "type": "array",
  6901. "items": {
  6902. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  6903. }
  6904. },
  6905. "SubTitleType": {
  6906. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  6907. "type": "integer"
  6908. },
  6909. "TradeModes": {
  6910. "description": "包含市场交易类型",
  6911. "type": "string"
  6912. }
  6913. }
  6914. },
  6915. "models.QuoteSecondaryMenu": {
  6916. "type": "object",
  6917. "properties": {
  6918. "ExExchangeCode": {
  6919. "description": "外部交易所代码",
  6920. "type": "string"
  6921. },
  6922. "ExExchangeID": {
  6923. "description": "外部交易所ID",
  6924. "type": "integer"
  6925. },
  6926. "GoodsGroupIDs": {
  6927. "description": "商品组ID列表",
  6928. "type": "array",
  6929. "items": {
  6930. "type": "integer"
  6931. }
  6932. },
  6933. "Index": {
  6934. "description": "序号",
  6935. "type": "integer"
  6936. },
  6937. "MarketID": {
  6938. "description": "市场ID",
  6939. "type": "integer"
  6940. },
  6941. "MenuTitle": {
  6942. "description": "菜单标题(市场名称或外部交易所名称)",
  6943. "type": "string"
  6944. },
  6945. "TradeMode": {
  6946. "description": "交易模式",
  6947. "type": "integer"
  6948. }
  6949. }
  6950. },
  6951. "models.SearchGoods": {
  6952. "type": "object",
  6953. "required": [
  6954. "goodscode",
  6955. "goodsid",
  6956. "goodsname",
  6957. "marketid",
  6958. "trademode"
  6959. ],
  6960. "properties": {
  6961. "goodscode": {
  6962. "description": "商品代码(内部)",
  6963. "type": "string"
  6964. },
  6965. "goodsid": {
  6966. "description": "商品ID(自增ID SEQ_GOODS)",
  6967. "type": "integer"
  6968. },
  6969. "goodsname": {
  6970. "description": "商品名称",
  6971. "type": "string"
  6972. },
  6973. "marketid": {
  6974. "description": "所属市场ID",
  6975. "type": "integer"
  6976. },
  6977. "marketname": {
  6978. "description": "市场名称",
  6979. "type": "string"
  6980. },
  6981. "trademode": {
  6982. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6983. "type": "integer"
  6984. }
  6985. }
  6986. },
  6987. "models.Szdz2imageconfig": {
  6988. "type": "object",
  6989. "required": [
  6990. "configid"
  6991. ],
  6992. "properties": {
  6993. "configid": {
  6994. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6995. "type": "integer"
  6996. },
  6997. "imagepath": {
  6998. "description": "图片",
  6999. "type": "string"
  7000. },
  7001. "imagetype": {
  7002. "description": "类型 - 1:App首页轮播 2:我的",
  7003. "type": "integer"
  7004. },
  7005. "sort": {
  7006. "description": "排序",
  7007. "type": "integer"
  7008. },
  7009. "title": {
  7010. "description": "标题",
  7011. "type": "string"
  7012. },
  7013. "url": {
  7014. "description": "链接",
  7015. "type": "string"
  7016. }
  7017. }
  7018. },
  7019. "models.Szdz3convertconfig": {
  7020. "type": "object",
  7021. "required": [
  7022. "converttype",
  7023. "innergoodsid",
  7024. "outergoodscode"
  7025. ],
  7026. "properties": {
  7027. "canin": {
  7028. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  7029. "type": "integer"
  7030. },
  7031. "canout": {
  7032. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  7033. "type": "integer"
  7034. },
  7035. "converttype": {
  7036. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7037. "type": "integer"
  7038. },
  7039. "createtime": {
  7040. "description": "创建时间",
  7041. "type": "string"
  7042. },
  7043. "creatorid": {
  7044. "description": "创建人",
  7045. "type": "integer"
  7046. },
  7047. "daymaxvalue": {
  7048. "description": "当日最大转入限制",
  7049. "type": "number"
  7050. },
  7051. "freezedays": {
  7052. "description": "冻结天数 [5:花生米转交易]",
  7053. "type": "integer"
  7054. },
  7055. "innergoodsid": {
  7056. "description": "内部商品ID[交易]",
  7057. "type": "integer"
  7058. },
  7059. "inratio": {
  7060. "description": "目标值",
  7061. "type": "integer"
  7062. },
  7063. "modifierid": {
  7064. "description": "修改人",
  7065. "type": "integer"
  7066. },
  7067. "modifytime": {
  7068. "description": "修改时间",
  7069. "type": "string"
  7070. },
  7071. "outergoodscode": {
  7072. "description": "外部商品代码[JD\\PD]",
  7073. "type": "string"
  7074. },
  7075. "outratio": {
  7076. "description": "源值",
  7077. "type": "integer"
  7078. },
  7079. "pddecimalplace": {
  7080. "description": "PD小数位",
  7081. "type": "integer"
  7082. },
  7083. "timemaxvalue": {
  7084. "description": "单次最大转入限制",
  7085. "type": "number"
  7086. },
  7087. "timeminvalue": {
  7088. "description": "单次最小转入限制",
  7089. "type": "number"
  7090. }
  7091. }
  7092. },
  7093. "models.Szdz3searchwhitelist": {
  7094. "type": "object",
  7095. "required": [
  7096. "userid"
  7097. ],
  7098. "properties": {
  7099. "createtime": {
  7100. "description": "创建时间",
  7101. "type": "string"
  7102. },
  7103. "creatorid": {
  7104. "description": "创建人",
  7105. "type": "integer"
  7106. },
  7107. "modifierid": {
  7108. "description": "修改人",
  7109. "type": "integer"
  7110. },
  7111. "modifytime": {
  7112. "description": "修改时间",
  7113. "type": "string"
  7114. },
  7115. "userid": {
  7116. "description": "用户ID",
  7117. "type": "integer"
  7118. }
  7119. }
  7120. },
  7121. "models.Tablecolumnconfig": {
  7122. "type": "object",
  7123. "required": [
  7124. "autoid"
  7125. ],
  7126. "properties": {
  7127. "aligntype": {
  7128. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  7129. "type": "integer"
  7130. },
  7131. "autoid": {
  7132. "description": "AutoID",
  7133. "type": "integer"
  7134. },
  7135. "columnfield": {
  7136. "description": "列字段",
  7137. "type": "string"
  7138. },
  7139. "columntitle": {
  7140. "description": "列Title",
  7141. "type": "string"
  7142. },
  7143. "columnwidth": {
  7144. "description": "列宽",
  7145. "type": "string"
  7146. },
  7147. "formatterstring": {
  7148. "description": "格式化字符",
  7149. "type": "string"
  7150. },
  7151. "formattertype": {
  7152. "description": "格式化类型",
  7153. "type": "string"
  7154. },
  7155. "groupname": {
  7156. "description": "表头分组名称",
  7157. "type": "string"
  7158. },
  7159. "isshow": {
  7160. "description": "是否显示 - 0:不显示 1:显示",
  7161. "type": "integer"
  7162. },
  7163. "needsummary": {
  7164. "description": "是否需要汇总 - 0:不需要 1:需要",
  7165. "type": "integer"
  7166. },
  7167. "orderindex": {
  7168. "description": "顺序",
  7169. "type": "integer"
  7170. },
  7171. "remark": {
  7172. "description": "备注",
  7173. "type": "string"
  7174. },
  7175. "summarytype": {
  7176. "description": "汇总类型 - 1:加总 2:最后一个",
  7177. "type": "integer"
  7178. },
  7179. "tablekey": {
  7180. "description": "列表Key",
  7181. "type": "string"
  7182. }
  7183. }
  7184. },
  7185. "models.Useraccount": {
  7186. "type": "object",
  7187. "required": [
  7188. "userid"
  7189. ],
  7190. "properties": {
  7191. "accountname": {
  7192. "description": "账户名称(机构名称)",
  7193. "type": "string"
  7194. },
  7195. "accountstatus": {
  7196. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  7197. "type": "integer"
  7198. },
  7199. "auditremark": {
  7200. "description": "审核备注",
  7201. "type": "string"
  7202. },
  7203. "audittime": {
  7204. "description": "审核时间",
  7205. "type": "string"
  7206. },
  7207. "audituserid": {
  7208. "description": "审核人",
  7209. "type": "integer"
  7210. },
  7211. "broker": {
  7212. "description": "所属经纪人ID",
  7213. "type": "integer"
  7214. },
  7215. "canceltime": {
  7216. "description": "销户时间",
  7217. "type": "string"
  7218. },
  7219. "canceluserid": {
  7220. "description": "销户人",
  7221. "type": "integer"
  7222. },
  7223. "createtime": {
  7224. "description": "创建时间",
  7225. "type": "string"
  7226. },
  7227. "creatorid": {
  7228. "description": "创建人",
  7229. "type": "integer"
  7230. },
  7231. "hasauth": {
  7232. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  7233. "type": "integer"
  7234. },
  7235. "isanonymous": {
  7236. "description": "是否匿名下单 - 0:否 1:是",
  7237. "type": "integer"
  7238. },
  7239. "maxinvestornum": {
  7240. "description": "最大用户数(经纪会员下投资者个数)",
  7241. "type": "integer"
  7242. },
  7243. "memberuserid": {
  7244. "description": "所属会员ID",
  7245. "type": "integer"
  7246. },
  7247. "modifierid": {
  7248. "description": "修改人",
  7249. "type": "integer"
  7250. },
  7251. "modifyremark": {
  7252. "description": "变更备注",
  7253. "type": "string"
  7254. },
  7255. "modifystatus": {
  7256. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  7257. "type": "integer"
  7258. },
  7259. "modifytime": {
  7260. "description": "修改时间",
  7261. "type": "string"
  7262. },
  7263. "parentuserid": {
  7264. "description": "所属机构ID",
  7265. "type": "integer"
  7266. },
  7267. "reckonaccountid": {
  7268. "description": "默认结算资金账号ID(机构分润使用) 作废",
  7269. "type": "integer"
  7270. },
  7271. "refercount": {
  7272. "description": "推荐总人数",
  7273. "type": "integer"
  7274. },
  7275. "refereeuserid": {
  7276. "description": "推荐人ID",
  7277. "type": "integer"
  7278. },
  7279. "refernum": {
  7280. "description": "推荐码",
  7281. "type": "string"
  7282. },
  7283. "subarealevelpath": {
  7284. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  7285. "type": "string"
  7286. },
  7287. "userid": {
  7288. "description": "用户ID",
  7289. "type": "integer"
  7290. },
  7291. "usertype": {
  7292. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7293. "type": "integer"
  7294. }
  7295. }
  7296. },
  7297. "models.Userfavoritegoods": {
  7298. "type": "object",
  7299. "required": [
  7300. "goodsid"
  7301. ],
  7302. "properties": {
  7303. "goodsid": {
  7304. "description": "商品ID",
  7305. "type": "integer"
  7306. }
  7307. }
  7308. },
  7309. "models.Userinfo": {
  7310. "type": "object",
  7311. "required": [
  7312. "userid"
  7313. ],
  7314. "properties": {
  7315. "address": {
  7316. "description": "地址",
  7317. "type": "string"
  7318. },
  7319. "attachment1": {
  7320. "description": "附件1",
  7321. "type": "string"
  7322. },
  7323. "attachment2": {
  7324. "description": "附件2",
  7325. "type": "string"
  7326. },
  7327. "bankaccount": {
  7328. "description": "银行帐号 (加密存储)",
  7329. "type": "string"
  7330. },
  7331. "bankaccountname": {
  7332. "description": "收款人名称",
  7333. "type": "string"
  7334. },
  7335. "bankcardfrontphotourl": {
  7336. "description": "银行卡正面照地址",
  7337. "type": "string"
  7338. },
  7339. "bankid": {
  7340. "description": "银行编码",
  7341. "type": "string"
  7342. },
  7343. "bankname": {
  7344. "description": "银行名称",
  7345. "type": "string"
  7346. },
  7347. "biznature": {
  7348. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7349. "type": "integer"
  7350. },
  7351. "bizscope": {
  7352. "description": "企业经营范围(企业)",
  7353. "type": "string"
  7354. },
  7355. "cardbackphotourl": {
  7356. "description": "证件背面图片地址",
  7357. "type": "string"
  7358. },
  7359. "cardfrontphotourl": {
  7360. "description": "证件正面图片地址",
  7361. "type": "string"
  7362. },
  7363. "cardnum": {
  7364. "description": "证件号码(加密存储)",
  7365. "type": "string"
  7366. },
  7367. "cardtypeid": {
  7368. "description": "证件类型ID",
  7369. "type": "integer"
  7370. },
  7371. "cityid": {
  7372. "description": "市",
  7373. "type": "integer"
  7374. },
  7375. "company": {
  7376. "description": "公司(个人)",
  7377. "type": "string"
  7378. },
  7379. "contactname": {
  7380. "description": "联系人",
  7381. "type": "string"
  7382. },
  7383. "countryid": {
  7384. "description": "国家",
  7385. "type": "integer"
  7386. },
  7387. "createtime": {
  7388. "description": "创建时间",
  7389. "type": "string"
  7390. },
  7391. "creatorid": {
  7392. "description": "创建人",
  7393. "type": "integer"
  7394. },
  7395. "customername": {
  7396. "description": "客户名称(企业名称)",
  7397. "type": "string"
  7398. },
  7399. "districtid": {
  7400. "description": "地区",
  7401. "type": "integer"
  7402. },
  7403. "email": {
  7404. "description": "邮件(加密存储)",
  7405. "type": "string"
  7406. },
  7407. "fax": {
  7408. "description": "传真(加密存储)",
  7409. "type": "string"
  7410. },
  7411. "halfbodyphotourl": {
  7412. "description": "半身照地址",
  7413. "type": "string"
  7414. },
  7415. "hasencrypt": {
  7416. "description": "数据是否已加密 - 0:未加密 1:已加密",
  7417. "type": "integer"
  7418. },
  7419. "headurl": {
  7420. "description": "头像地址",
  7421. "type": "string"
  7422. },
  7423. "legalcardbackphotourl": {
  7424. "description": "法人身份证背面照地址",
  7425. "type": "string"
  7426. },
  7427. "legalcardfrontphotourl": {
  7428. "description": "法人身份证正面照地址",
  7429. "type": "string"
  7430. },
  7431. "legalpersonname": {
  7432. "description": "法人姓名(企业)",
  7433. "type": "string"
  7434. },
  7435. "mobile": {
  7436. "description": "手机号码(加密存储)",
  7437. "type": "string"
  7438. },
  7439. "mobile2": {
  7440. "description": "手机号码[明文-尚志]",
  7441. "type": "string"
  7442. },
  7443. "modifierid": {
  7444. "description": "修改人",
  7445. "type": "integer"
  7446. },
  7447. "modifiertime": {
  7448. "description": "修改时间",
  7449. "type": "string"
  7450. },
  7451. "needinvoice": {
  7452. "description": "是否需要发票 - 0:不需要 1:需要",
  7453. "type": "integer"
  7454. },
  7455. "nickname": {
  7456. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  7457. "type": "string"
  7458. },
  7459. "openmode": {
  7460. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  7461. "type": "integer"
  7462. },
  7463. "otherurl": {
  7464. "description": "其它图片地址[使用分号分隔]",
  7465. "type": "string"
  7466. },
  7467. "postalcode": {
  7468. "description": "邮政编码",
  7469. "type": "string"
  7470. },
  7471. "provinceid": {
  7472. "description": "省",
  7473. "type": "integer"
  7474. },
  7475. "qq": {
  7476. "description": "QQ(加密存储",
  7477. "type": "string"
  7478. },
  7479. "remark": {
  7480. "description": "备注",
  7481. "type": "string"
  7482. },
  7483. "sex": {
  7484. "description": "用户性别 0: 女 1: 男",
  7485. "type": "integer"
  7486. },
  7487. "signpdfurl": {
  7488. "description": "签约pdf文件",
  7489. "type": "string"
  7490. },
  7491. "telphone": {
  7492. "description": "联系电话(加密存储)",
  7493. "type": "string"
  7494. },
  7495. "userid": {
  7496. "description": "用户ID",
  7497. "type": "integer"
  7498. },
  7499. "userinfotype": {
  7500. "description": "用户信息类型 - 1:个人 2:企业",
  7501. "type": "integer"
  7502. },
  7503. "userstatus": {
  7504. "description": "用户状态 - 1:正常 2:注销",
  7505. "type": "integer"
  7506. },
  7507. "usertype": {
  7508. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7509. "type": "integer"
  7510. },
  7511. "wechat": {
  7512. "description": "微信(加密存储)",
  7513. "type": "string"
  7514. },
  7515. "wskhinfo": {
  7516. "description": "开户申请信息(JSON)",
  7517. "type": "string"
  7518. }
  7519. }
  7520. },
  7521. "models.WRStandardInfo": {
  7522. "type": "object",
  7523. "required": [
  7524. "wrstandardid"
  7525. ],
  7526. "properties": {
  7527. "createtime": {
  7528. "description": "创建时间",
  7529. "type": "string"
  7530. },
  7531. "creatorid": {
  7532. "description": "创建人",
  7533. "type": "integer"
  7534. },
  7535. "deliverygoodsid": {
  7536. "description": "品种ID",
  7537. "type": "integer"
  7538. },
  7539. "deliverygoodsname": {
  7540. "description": "交割商品名称",
  7541. "type": "string"
  7542. },
  7543. "factoryitemjson": {
  7544. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  7545. "type": "string"
  7546. },
  7547. "isvalid": {
  7548. "description": "是否有效 - 0:无效 1:有效",
  7549. "type": "integer"
  7550. },
  7551. "minivalue": {
  7552. "description": "最小变动值",
  7553. "type": "integer"
  7554. },
  7555. "minivaluedp": {
  7556. "description": "最小变动值小数位",
  7557. "type": "integer"
  7558. },
  7559. "realminivalue": {
  7560. "description": "实际最小变动值",
  7561. "type": "integer"
  7562. },
  7563. "realminivaluedp": {
  7564. "description": "实际最小变动值小数位",
  7565. "type": "integer"
  7566. },
  7567. "unitid": {
  7568. "description": "单位ID",
  7569. "type": "integer"
  7570. },
  7571. "unitname": {
  7572. "description": "单位",
  7573. "type": "string"
  7574. },
  7575. "updatetime": {
  7576. "description": "更新时间",
  7577. "type": "string"
  7578. },
  7579. "updatorid": {
  7580. "description": "更新人",
  7581. "type": "integer"
  7582. },
  7583. "wrsstatus": {
  7584. "description": "状态 - 作废 - 0:未激活 1:正常",
  7585. "type": "integer"
  7586. },
  7587. "wrstandardcode": {
  7588. "description": "仓单标准代码",
  7589. "type": "string"
  7590. },
  7591. "wrstandardid": {
  7592. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7593. "type": "integer"
  7594. },
  7595. "wrstandardname": {
  7596. "description": "仓单标准名称",
  7597. "type": "string"
  7598. }
  7599. }
  7600. },
  7601. "models.Warehouseinfo": {
  7602. "type": "object",
  7603. "required": [
  7604. "autoid",
  7605. "warehousecode"
  7606. ],
  7607. "properties": {
  7608. "address": {
  7609. "description": "详细地址",
  7610. "type": "string"
  7611. },
  7612. "areauserid": {
  7613. "description": "所属机构",
  7614. "type": "integer"
  7615. },
  7616. "autoid": {
  7617. "description": "自增ID",
  7618. "type": "integer"
  7619. },
  7620. "cityid": {
  7621. "description": "市",
  7622. "type": "integer"
  7623. },
  7624. "contactname": {
  7625. "description": "联系人",
  7626. "type": "string"
  7627. },
  7628. "contactnum": {
  7629. "description": "联系电话",
  7630. "type": "string"
  7631. },
  7632. "countryid": {
  7633. "description": "国家",
  7634. "type": "integer"
  7635. },
  7636. "createtime": {
  7637. "description": "创建时间",
  7638. "type": "string"
  7639. },
  7640. "districtid": {
  7641. "description": "区",
  7642. "type": "integer"
  7643. },
  7644. "hasvideo": {
  7645. "description": "是否有视频 - 0:无 1:有",
  7646. "type": "integer"
  7647. },
  7648. "provinceid": {
  7649. "description": "省",
  7650. "type": "integer"
  7651. },
  7652. "remark": {
  7653. "description": "审核备注",
  7654. "type": "string"
  7655. },
  7656. "videourl": {
  7657. "description": "视频地址",
  7658. "type": "string"
  7659. },
  7660. "warehousecode": {
  7661. "description": "仓库代码",
  7662. "type": "string"
  7663. },
  7664. "warehousename": {
  7665. "description": "仓库名称",
  7666. "type": "string"
  7667. },
  7668. "warehousestatus": {
  7669. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  7670. "type": "integer"
  7671. },
  7672. "warehousetype": {
  7673. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  7674. "type": "integer"
  7675. }
  7676. }
  7677. },
  7678. "order.QueryHisTradeDetailRsp": {
  7679. "type": "object",
  7680. "required": [
  7681. "accountid",
  7682. "buyorsell",
  7683. "goodsid",
  7684. "histradedate",
  7685. "marketid",
  7686. "memberuserid",
  7687. "orderid",
  7688. "tradeamount",
  7689. "tradedate",
  7690. "tradeid",
  7691. "tradeprice",
  7692. "tradeqty",
  7693. "tradetime"
  7694. ],
  7695. "properties": {
  7696. "accountid": {
  7697. "description": "账户ID[报价币种]",
  7698. "type": "integer"
  7699. },
  7700. "buildtype": {
  7701. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  7702. "type": "integer"
  7703. },
  7704. "buyorsell": {
  7705. "description": "方向 - 0:买 1:卖",
  7706. "type": "integer"
  7707. },
  7708. "charge": {
  7709. "description": "手续费",
  7710. "type": "number"
  7711. },
  7712. "closecharge": {
  7713. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7714. "type": "number"
  7715. },
  7716. "closeexchagechargevalue": {
  7717. "description": "平仓交易所手续费设置值",
  7718. "type": "number"
  7719. },
  7720. "closefeealgorithm": {
  7721. "description": "平仓手续费收取方式 1:比率 2:固定",
  7722. "type": "integer"
  7723. },
  7724. "closememberchargevalue": {
  7725. "description": "平仓会员手续费设置值",
  7726. "type": "number"
  7727. },
  7728. "closepl": {
  7729. "description": "平仓盈亏",
  7730. "type": "number"
  7731. },
  7732. "closepl2": {
  7733. "description": "平仓盈亏[逐笔]",
  7734. "type": "number"
  7735. },
  7736. "closeqty": {
  7737. "description": "平仓数量(先建后平操作 需要记录)",
  7738. "type": "integer"
  7739. },
  7740. "creditamount": {
  7741. "description": "授信金额",
  7742. "type": "number"
  7743. },
  7744. "gcaccountid": {
  7745. "description": "账户ID[合约币种]",
  7746. "type": "integer"
  7747. },
  7748. "goodscode": {
  7749. "description": "商品代码",
  7750. "type": "string"
  7751. },
  7752. "goodsid": {
  7753. "description": "商品ID",
  7754. "type": "integer"
  7755. },
  7756. "goodsname": {
  7757. "description": "商品名称",
  7758. "type": "string"
  7759. },
  7760. "histradedate": {
  7761. "description": "历史交易日",
  7762. "type": "string"
  7763. },
  7764. "intclosepl": {
  7765. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7766. "type": "integer"
  7767. },
  7768. "isconfirmexercise": {
  7769. "description": "是否确认行权- 0:否 1:是",
  7770. "type": "integer"
  7771. },
  7772. "ismain": {
  7773. "description": "是否主单 - 0:不是 1:是",
  7774. "type": "integer"
  7775. },
  7776. "ispreexercise": {
  7777. "description": "是否预申报- 0:否 1:是",
  7778. "type": "integer"
  7779. },
  7780. "isreckoned": {
  7781. "description": "是否结算 - 0:未结算 1:已结算",
  7782. "type": "integer"
  7783. },
  7784. "isvaliddata": {
  7785. "description": "是否有效 - 0:无效 1:有效",
  7786. "type": "integer"
  7787. },
  7788. "listingselecttype": {
  7789. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7790. "type": "integer"
  7791. },
  7792. "marketid": {
  7793. "description": "市场ID",
  7794. "type": "integer"
  7795. },
  7796. "marketname": {
  7797. "description": "市场名称",
  7798. "type": "string"
  7799. },
  7800. "matchaccountid": {
  7801. "description": "对手账号id",
  7802. "type": "integer"
  7803. },
  7804. "memberuserid": {
  7805. "description": "会员id 个人投资者 需要填写",
  7806. "type": "integer"
  7807. },
  7808. "opencharge": {
  7809. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7810. "type": "number"
  7811. },
  7812. "openexchagechargevalue": {
  7813. "description": "建仓交易所手续费设置值",
  7814. "type": "number"
  7815. },
  7816. "openfeealgorithm": {
  7817. "description": "建仓手续费收取方式 1:比率 2:固定",
  7818. "type": "integer"
  7819. },
  7820. "openmemberchargevalue": {
  7821. "description": "建仓会员手续费设置值",
  7822. "type": "number"
  7823. },
  7824. "openqty": {
  7825. "description": "开仓数量(先建后平操作 需要记录)",
  7826. "type": "integer"
  7827. },
  7828. "optiontype": {
  7829. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7830. "type": "integer"
  7831. },
  7832. "orderid": {
  7833. "description": "委托单号",
  7834. "type": "string"
  7835. },
  7836. "performanceplanid": {
  7837. "description": "履约计划ID[期权]",
  7838. "type": "integer"
  7839. },
  7840. "performancestatus": {
  7841. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7842. "type": "integer"
  7843. },
  7844. "preexerciseprice": {
  7845. "description": "预申报价格",
  7846. "type": "number"
  7847. },
  7848. "premium": {
  7849. "description": "权利金 - [持仓单的权利金]",
  7850. "type": "number"
  7851. },
  7852. "relatedouttradeid": {
  7853. "description": "关联外部成交单ID",
  7854. "type": "integer"
  7855. },
  7856. "status": {
  7857. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7858. "type": "integer"
  7859. },
  7860. "tradeamount": {
  7861. "description": "成交金额[账户币种,用于所有权]",
  7862. "type": "number"
  7863. },
  7864. "tradedate": {
  7865. "description": "交易日(yyyyMMdd)",
  7866. "type": "string"
  7867. },
  7868. "tradeid": {
  7869. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7870. "type": "string"
  7871. },
  7872. "trademode": {
  7873. "description": "交易模式",
  7874. "type": "integer"
  7875. },
  7876. "tradeprice": {
  7877. "description": "成交价格",
  7878. "type": "number"
  7879. },
  7880. "tradeproperty": {
  7881. "description": "交易属性",
  7882. "type": "integer"
  7883. },
  7884. "tradeqty": {
  7885. "description": "成交数量",
  7886. "type": "integer"
  7887. },
  7888. "tradetime": {
  7889. "description": "成交时间",
  7890. "type": "string"
  7891. },
  7892. "tradetype": {
  7893. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7894. "type": "integer"
  7895. }
  7896. }
  7897. },
  7898. "order.QueryHisTradeOrderDetailRsp": {
  7899. "type": "object",
  7900. "required": [
  7901. "accountid",
  7902. "buildtype",
  7903. "buyorsell",
  7904. "goodsid",
  7905. "histradedate",
  7906. "marketid",
  7907. "memberuserid",
  7908. "operatetype",
  7909. "orderid",
  7910. "orderqty",
  7911. "ordertime",
  7912. "pricemode",
  7913. "tradedate",
  7914. "validtype"
  7915. ],
  7916. "properties": {
  7917. "accountid": {
  7918. "description": "账户ID[报价币种]",
  7919. "type": "integer"
  7920. },
  7921. "buildtype": {
  7922. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7923. "type": "integer"
  7924. },
  7925. "buyorsell": {
  7926. "description": "买卖 - 0:买 1:卖",
  7927. "type": "integer"
  7928. },
  7929. "cancelorderid": {
  7930. "description": "撤单单号(撤单时填写)",
  7931. "type": "string"
  7932. },
  7933. "cancelqty": {
  7934. "description": "撤单数量",
  7935. "type": "integer"
  7936. },
  7937. "clientordertime": {
  7938. "description": "客户端委托时间",
  7939. "type": "string"
  7940. },
  7941. "clientticket": {
  7942. "description": "客户端流水号",
  7943. "type": "string"
  7944. },
  7945. "clienttype": {
  7946. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7947. "type": "integer"
  7948. },
  7949. "closeexchagechargevalue": {
  7950. "description": "平仓交易所手续费设置值",
  7951. "type": "number"
  7952. },
  7953. "closefeealgorithm": {
  7954. "description": "平仓手续费收取方式 1:比率 2:固定",
  7955. "type": "integer"
  7956. },
  7957. "closefreezecharge": {
  7958. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7959. "type": "number"
  7960. },
  7961. "closememberchargevalue": {
  7962. "description": "平仓会员手续费设置值",
  7963. "type": "number"
  7964. },
  7965. "closeqty": {
  7966. "description": "平仓数量(先建后平操作 需要记录)",
  7967. "type": "integer"
  7968. },
  7969. "closetradeqty": {
  7970. "description": "平仓成交数量(先建后平操作,需要记录)",
  7971. "type": "integer"
  7972. },
  7973. "closeunfreezecharge": {
  7974. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7975. "type": "number"
  7976. },
  7977. "delistingtype": {
  7978. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7979. "type": "integer"
  7980. },
  7981. "freezecharge": {
  7982. "description": "冻结手续费",
  7983. "type": "number"
  7984. },
  7985. "freezemargin": {
  7986. "description": "冻结保证金(冻结交易金额)",
  7987. "type": "number"
  7988. },
  7989. "gcaccountid": {
  7990. "description": "账户ID[合约币种]",
  7991. "type": "integer"
  7992. },
  7993. "goodscode": {
  7994. "description": "商品代码",
  7995. "type": "string"
  7996. },
  7997. "goodsid": {
  7998. "description": "商品ID",
  7999. "type": "integer"
  8000. },
  8001. "goodsname": {
  8002. "description": "商品名称",
  8003. "type": "string"
  8004. },
  8005. "histradedate": {
  8006. "description": "历史交易日",
  8007. "type": "string"
  8008. },
  8009. "isconfirmexercise": {
  8010. "description": "是否确认行权- 0:否 1:是",
  8011. "type": "integer"
  8012. },
  8013. "ispreexercise": {
  8014. "description": "是否预申报- 0:否 1:是",
  8015. "type": "integer"
  8016. },
  8017. "isvaliddata": {
  8018. "description": "是否有效 - 0:无效 1:有效",
  8019. "type": "integer"
  8020. },
  8021. "listingselecttype": {
  8022. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8023. "type": "integer"
  8024. },
  8025. "marginalgorithm": {
  8026. "description": "保证金收取方式 1:比率 2:固定",
  8027. "type": "integer"
  8028. },
  8029. "marginvalue": {
  8030. "description": "即市保证金设置值",
  8031. "type": "number"
  8032. },
  8033. "marketid": {
  8034. "description": "市场ID",
  8035. "type": "integer"
  8036. },
  8037. "marketmaxsub": {
  8038. "description": "市价最大偏移范围",
  8039. "type": "number"
  8040. },
  8041. "marketname": {
  8042. "description": "市场名称",
  8043. "type": "string"
  8044. },
  8045. "memberuserid": {
  8046. "description": "所属会员UserID",
  8047. "type": "integer"
  8048. },
  8049. "openexchagechargevalue": {
  8050. "description": "建仓交易所手续费设置值",
  8051. "type": "number"
  8052. },
  8053. "openfeealgorithm": {
  8054. "description": "建仓手续费收取方式 1:比率 2:固定",
  8055. "type": "integer"
  8056. },
  8057. "openfreezecharge": {
  8058. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8059. "type": "number"
  8060. },
  8061. "openmemberchargevalue": {
  8062. "description": "建仓会员手续费设置值",
  8063. "type": "number"
  8064. },
  8065. "openqty": {
  8066. "description": "开仓数量(先建后平操作,需要记录)",
  8067. "type": "integer"
  8068. },
  8069. "opentradeqty": {
  8070. "description": "开仓成交数量(先建后平操作,需要记录)",
  8071. "type": "integer"
  8072. },
  8073. "openunfreezecharge": {
  8074. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8075. "type": "number"
  8076. },
  8077. "operatetype": {
  8078. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8079. "type": "integer"
  8080. },
  8081. "operatorid": {
  8082. "description": "登录账号(LoginID)",
  8083. "type": "integer"
  8084. },
  8085. "optiontype": {
  8086. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8087. "type": "integer"
  8088. },
  8089. "orderid": {
  8090. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8091. "type": "string"
  8092. },
  8093. "orderprice": {
  8094. "description": "委托价格",
  8095. "type": "number"
  8096. },
  8097. "orderqty": {
  8098. "description": "委托数量",
  8099. "type": "integer"
  8100. },
  8101. "ordersrc": {
  8102. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8103. "type": "integer"
  8104. },
  8105. "orderstatus": {
  8106. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8107. "type": "integer"
  8108. },
  8109. "ordertime": {
  8110. "description": "委托时间",
  8111. "type": "string"
  8112. },
  8113. "preexerciseprice": {
  8114. "description": "预申报价格",
  8115. "type": "number"
  8116. },
  8117. "premium": {
  8118. "description": "权利金",
  8119. "type": "number"
  8120. },
  8121. "preorderid": {
  8122. "description": "关联预埋单号(止盈止损单时填写)",
  8123. "type": "string"
  8124. },
  8125. "pricemode": {
  8126. "description": "取价方式 - 1:市价 2: 限价",
  8127. "type": "integer"
  8128. },
  8129. "quoteid": {
  8130. "description": "报价单ID",
  8131. "type": "integer"
  8132. },
  8133. "relatedid": {
  8134. "description": "关联单号(交割单)",
  8135. "type": "string"
  8136. },
  8137. "retcode": {
  8138. "description": "错误代码",
  8139. "type": "integer"
  8140. },
  8141. "sessionid": {
  8142. "description": "会话ID",
  8143. "type": "integer"
  8144. },
  8145. "tradedate": {
  8146. "description": "交易日(yyyyMMdd)",
  8147. "type": "string"
  8148. },
  8149. "trademode": {
  8150. "description": "交易模式",
  8151. "type": "integer"
  8152. },
  8153. "tradeproperty": {
  8154. "description": "交易属性",
  8155. "type": "integer"
  8156. },
  8157. "tradeqty": {
  8158. "description": "成交数量",
  8159. "type": "integer"
  8160. },
  8161. "unfreezecharge": {
  8162. "description": "解冻手续费",
  8163. "type": "number"
  8164. },
  8165. "unfreezemargin": {
  8166. "description": "解冻保证金",
  8167. "type": "number"
  8168. },
  8169. "updatetime": {
  8170. "description": "更新时间",
  8171. "type": "string"
  8172. },
  8173. "uuid": {
  8174. "description": "发起端唯一id",
  8175. "type": "string"
  8176. },
  8177. "validtime": {
  8178. "description": "有效期限",
  8179. "type": "string"
  8180. },
  8181. "validtype": {
  8182. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8183. "type": "integer"
  8184. },
  8185. "volumetype": {
  8186. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8187. "type": "integer"
  8188. }
  8189. }
  8190. },
  8191. "order.QueryTradeDetailRsp": {
  8192. "type": "object",
  8193. "required": [
  8194. "accountid",
  8195. "buyorsell",
  8196. "goodsid",
  8197. "marketid",
  8198. "memberuserid",
  8199. "orderid",
  8200. "tradeamount",
  8201. "tradedate",
  8202. "tradeid",
  8203. "tradeprice",
  8204. "tradeqty",
  8205. "tradetime"
  8206. ],
  8207. "properties": {
  8208. "accountid": {
  8209. "description": "账户ID[报价币种]",
  8210. "type": "integer"
  8211. },
  8212. "buildtype": {
  8213. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8214. "type": "integer"
  8215. },
  8216. "buyorsell": {
  8217. "description": "方向 - 0:买 1:卖",
  8218. "type": "integer"
  8219. },
  8220. "charge": {
  8221. "description": "手续费",
  8222. "type": "number"
  8223. },
  8224. "closecharge": {
  8225. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8226. "type": "number"
  8227. },
  8228. "closeexchagechargevalue": {
  8229. "description": "平仓交易所手续费设置值",
  8230. "type": "number"
  8231. },
  8232. "closefeealgorithm": {
  8233. "description": "平仓手续费收取方式 1:比率 2:固定",
  8234. "type": "integer"
  8235. },
  8236. "closememberchargevalue": {
  8237. "description": "平仓会员手续费设置值",
  8238. "type": "number"
  8239. },
  8240. "closepl": {
  8241. "description": "平仓盈亏",
  8242. "type": "number"
  8243. },
  8244. "closepl2": {
  8245. "description": "平仓盈亏[逐笔]",
  8246. "type": "number"
  8247. },
  8248. "closeqty": {
  8249. "description": "平仓数量(先建后平操作 需要记录)",
  8250. "type": "integer"
  8251. },
  8252. "creditamount": {
  8253. "description": "授信金额",
  8254. "type": "number"
  8255. },
  8256. "gcaccountid": {
  8257. "description": "账户ID[合约币种]",
  8258. "type": "integer"
  8259. },
  8260. "goodscode": {
  8261. "description": "商品代码",
  8262. "type": "string"
  8263. },
  8264. "goodsid": {
  8265. "description": "商品ID",
  8266. "type": "integer"
  8267. },
  8268. "goodsname": {
  8269. "description": "商品名称",
  8270. "type": "string"
  8271. },
  8272. "intclosepl": {
  8273. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8274. "type": "integer"
  8275. },
  8276. "isconfirmexercise": {
  8277. "description": "是否确认行权- 0:否 1:是",
  8278. "type": "integer"
  8279. },
  8280. "ismain": {
  8281. "description": "是否主单 - 0:不是 1:是",
  8282. "type": "integer"
  8283. },
  8284. "ispreexercise": {
  8285. "description": "是否预申报- 0:否 1:是",
  8286. "type": "integer"
  8287. },
  8288. "isreckoned": {
  8289. "description": "是否结算 - 0:未结算 1:已结算",
  8290. "type": "integer"
  8291. },
  8292. "listingselecttype": {
  8293. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8294. "type": "integer"
  8295. },
  8296. "marketid": {
  8297. "description": "市场ID",
  8298. "type": "integer"
  8299. },
  8300. "marketname": {
  8301. "description": "市场名称",
  8302. "type": "string"
  8303. },
  8304. "matchaccountid": {
  8305. "description": "对手账号id",
  8306. "type": "integer"
  8307. },
  8308. "memberuserid": {
  8309. "description": "会员id 个人投资者 需要填写",
  8310. "type": "integer"
  8311. },
  8312. "opencharge": {
  8313. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8314. "type": "number"
  8315. },
  8316. "openexchagechargevalue": {
  8317. "description": "建仓交易所手续费设置值",
  8318. "type": "number"
  8319. },
  8320. "openfeealgorithm": {
  8321. "description": "建仓手续费收取方式 1:比率 2:固定",
  8322. "type": "integer"
  8323. },
  8324. "openmemberchargevalue": {
  8325. "description": "建仓会员手续费设置值",
  8326. "type": "number"
  8327. },
  8328. "openqty": {
  8329. "description": "开仓数量(先建后平操作 需要记录)",
  8330. "type": "integer"
  8331. },
  8332. "optiontype": {
  8333. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8334. "type": "integer"
  8335. },
  8336. "orderid": {
  8337. "description": "委托单号",
  8338. "type": "string"
  8339. },
  8340. "performanceplanid": {
  8341. "description": "履约计划ID[期权]",
  8342. "type": "integer"
  8343. },
  8344. "performancestatus": {
  8345. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8346. "type": "integer"
  8347. },
  8348. "preexerciseprice": {
  8349. "description": "预申报价格",
  8350. "type": "number"
  8351. },
  8352. "premium": {
  8353. "description": "权利金 - [持仓单的权利金]",
  8354. "type": "number"
  8355. },
  8356. "relatedouttradeid": {
  8357. "description": "关联外部成交单ID",
  8358. "type": "integer"
  8359. },
  8360. "status": {
  8361. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8362. "type": "integer"
  8363. },
  8364. "tradeamount": {
  8365. "description": "成交金额[账户币种,用于所有权]",
  8366. "type": "number"
  8367. },
  8368. "tradedate": {
  8369. "description": "交易日(yyyyMMdd)",
  8370. "type": "string"
  8371. },
  8372. "tradeid": {
  8373. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8374. "type": "string"
  8375. },
  8376. "trademode": {
  8377. "description": "交易模式",
  8378. "type": "integer"
  8379. },
  8380. "tradeprice": {
  8381. "description": "成交价格",
  8382. "type": "number"
  8383. },
  8384. "tradeproperty": {
  8385. "description": "交易属性",
  8386. "type": "integer"
  8387. },
  8388. "tradeqty": {
  8389. "description": "成交数量",
  8390. "type": "integer"
  8391. },
  8392. "tradetime": {
  8393. "description": "成交时间",
  8394. "type": "string"
  8395. },
  8396. "tradetype": {
  8397. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8398. "type": "integer"
  8399. }
  8400. }
  8401. },
  8402. "order.QueryTradeOrderDetailRsp": {
  8403. "type": "object",
  8404. "required": [
  8405. "accountid",
  8406. "buildtype",
  8407. "buyorsell",
  8408. "goodsid",
  8409. "marketid",
  8410. "operatetype",
  8411. "orderqty",
  8412. "ordertime",
  8413. "pricemode",
  8414. "tradedate",
  8415. "validtype"
  8416. ],
  8417. "properties": {
  8418. "accountid": {
  8419. "description": "账户ID[报价币种]",
  8420. "type": "integer"
  8421. },
  8422. "buildtype": {
  8423. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8424. "type": "integer"
  8425. },
  8426. "buyorsell": {
  8427. "description": "买卖 - 0:买 1:卖",
  8428. "type": "integer"
  8429. },
  8430. "cancelorderid": {
  8431. "description": "撤单单号(撤单时填写)",
  8432. "type": "string"
  8433. },
  8434. "cancelqty": {
  8435. "description": "撤单数量",
  8436. "type": "integer"
  8437. },
  8438. "clienttype": {
  8439. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8440. "type": "integer"
  8441. },
  8442. "closefreezecharge": {
  8443. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8444. "type": "number"
  8445. },
  8446. "closeqty": {
  8447. "description": "平仓数量(先建后平操作 需要记录)",
  8448. "type": "integer"
  8449. },
  8450. "closetradeqty": {
  8451. "description": "平仓成交数量(先建后平操作,需要记录)",
  8452. "type": "integer"
  8453. },
  8454. "closeunfreezecharge": {
  8455. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8456. "type": "number"
  8457. },
  8458. "delistingtype": {
  8459. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8460. "type": "integer"
  8461. },
  8462. "enableqty": {
  8463. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  8464. "type": "integer"
  8465. },
  8466. "freezecharge": {
  8467. "description": "冻结手续费",
  8468. "type": "number"
  8469. },
  8470. "freezemargin": {
  8471. "description": "冻结保证金(冻结交易金额)",
  8472. "type": "number"
  8473. },
  8474. "goodscode": {
  8475. "description": "商品代码",
  8476. "type": "string"
  8477. },
  8478. "goodsid": {
  8479. "description": "商品ID",
  8480. "type": "integer"
  8481. },
  8482. "goodsname": {
  8483. "description": "商品名称",
  8484. "type": "string"
  8485. },
  8486. "listingselecttype": {
  8487. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8488. "type": "integer"
  8489. },
  8490. "marketid": {
  8491. "description": "市场ID",
  8492. "type": "integer"
  8493. },
  8494. "marketname": {
  8495. "description": "市场名称",
  8496. "type": "string"
  8497. },
  8498. "openfreezecharge": {
  8499. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8500. "type": "number"
  8501. },
  8502. "openqty": {
  8503. "description": "开仓数量(先建后平操作,需要记录)",
  8504. "type": "integer"
  8505. },
  8506. "opentradeqty": {
  8507. "description": "开仓成交数量(先建后平操作,需要记录)",
  8508. "type": "integer"
  8509. },
  8510. "openunfreezecharge": {
  8511. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8512. "type": "number"
  8513. },
  8514. "operatetype": {
  8515. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8516. "type": "integer"
  8517. },
  8518. "operatorid": {
  8519. "description": "登录账号(LoginID)",
  8520. "type": "integer"
  8521. },
  8522. "orderid": {
  8523. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8524. "type": "string"
  8525. },
  8526. "orderprice": {
  8527. "description": "委托价格",
  8528. "type": "number"
  8529. },
  8530. "orderqty": {
  8531. "description": "委托数量",
  8532. "type": "integer"
  8533. },
  8534. "ordersrc": {
  8535. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8536. "type": "integer"
  8537. },
  8538. "orderstatus": {
  8539. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8540. "type": "integer"
  8541. },
  8542. "ordertime": {
  8543. "description": "委托时间",
  8544. "type": "string"
  8545. },
  8546. "preorderid": {
  8547. "description": "关联预埋单号(止盈止损单时填写)",
  8548. "type": "string"
  8549. },
  8550. "pricemode": {
  8551. "description": "取价方式 - 1:市价 2: 限价",
  8552. "type": "integer"
  8553. },
  8554. "relatedid": {
  8555. "description": "关联单号(交割单)",
  8556. "type": "string"
  8557. },
  8558. "tradedate": {
  8559. "description": "交易日(yyyyMMdd)",
  8560. "type": "string"
  8561. },
  8562. "trademode": {
  8563. "description": "交易模式",
  8564. "type": "integer"
  8565. },
  8566. "tradeqty": {
  8567. "description": "成交数量",
  8568. "type": "integer"
  8569. },
  8570. "unfreezecharge": {
  8571. "description": "解冻手续费",
  8572. "type": "number"
  8573. },
  8574. "unfreezemargin": {
  8575. "description": "解冻保证金",
  8576. "type": "number"
  8577. },
  8578. "validtime": {
  8579. "description": "有效期限",
  8580. "type": "string"
  8581. },
  8582. "validtype": {
  8583. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8584. "type": "integer"
  8585. },
  8586. "volumetype": {
  8587. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8588. "type": "integer"
  8589. }
  8590. }
  8591. },
  8592. "order.QueryTradePositionRsp": {
  8593. "type": "object",
  8594. "required": [
  8595. "goodsid"
  8596. ],
  8597. "properties": {
  8598. "accountid": {
  8599. "description": "资金账户",
  8600. "type": "integer"
  8601. },
  8602. "agreeunit": {
  8603. "description": "合约单位",
  8604. "type": "number"
  8605. },
  8606. "averageprice": {
  8607. "description": "持仓均价",
  8608. "type": "number"
  8609. },
  8610. "buyorsell": {
  8611. "description": "方向 - 0:买 1:卖",
  8612. "type": "integer"
  8613. },
  8614. "closetotalqty": {
  8615. "description": "平仓总数量",
  8616. "type": "integer"
  8617. },
  8618. "curholderamount": {
  8619. "description": "当前持仓总金额[商品币种]",
  8620. "type": "number"
  8621. },
  8622. "curpositionqty": {
  8623. "description": "当前持仓总数量",
  8624. "type": "integer"
  8625. },
  8626. "currencyid": {
  8627. "description": "报价货币ID",
  8628. "type": "integer"
  8629. },
  8630. "curtdposition": {
  8631. "description": "期末今日头寸",
  8632. "type": "integer"
  8633. },
  8634. "decimalplace": {
  8635. "description": "报价小数位",
  8636. "type": "integer"
  8637. },
  8638. "enableqty": {
  8639. "description": "可用量",
  8640. "type": "integer"
  8641. },
  8642. "fretdposition": {
  8643. "description": "冻结今日头寸",
  8644. "type": "integer"
  8645. },
  8646. "frozenqty": {
  8647. "description": "持仓冻结数量",
  8648. "type": "integer"
  8649. },
  8650. "goodscode": {
  8651. "description": "商品代码",
  8652. "type": "string"
  8653. },
  8654. "goodsid": {
  8655. "description": "商品Id",
  8656. "type": "integer"
  8657. },
  8658. "goodsname": {
  8659. "description": "商品名称",
  8660. "type": "string"
  8661. },
  8662. "goodunit": {
  8663. "description": "报价单位",
  8664. "type": "string"
  8665. },
  8666. "goodunitid": {
  8667. "description": "报价单位ID",
  8668. "type": "integer"
  8669. },
  8670. "holderamount": {
  8671. "description": "期初持仓总金额[商品币种]",
  8672. "type": "number"
  8673. },
  8674. "marketid": {
  8675. "description": "所属市场ID",
  8676. "type": "integer"
  8677. },
  8678. "openreqqty": {
  8679. "description": "开仓申请数量(用于比较最大持仓数量)",
  8680. "type": "integer"
  8681. },
  8682. "opentotalqty": {
  8683. "description": "开仓总数量",
  8684. "type": "integer"
  8685. },
  8686. "otherfrozenqty": {
  8687. "description": "持仓其他冻结数量(交割冻结)",
  8688. "type": "integer"
  8689. },
  8690. "positionqty": {
  8691. "description": "期初持仓数量",
  8692. "type": "integer"
  8693. },
  8694. "tnqty": {
  8695. "description": "T+N冻结总量",
  8696. "type": "integer"
  8697. },
  8698. "tnusedqty": {
  8699. "description": "T+N使用量(可以使用T+N的冻结数量)",
  8700. "type": "integer"
  8701. },
  8702. "trademode": {
  8703. "description": "交易模式",
  8704. "type": "integer"
  8705. },
  8706. "usedmargin": {
  8707. "description": "占用保证金[商品币种]",
  8708. "type": "number"
  8709. }
  8710. }
  8711. },
  8712. "quote.HistoryData": {
  8713. "type": "object",
  8714. "properties": {
  8715. "c": {
  8716. "description": "收盘价",
  8717. "type": "number"
  8718. },
  8719. "h": {
  8720. "description": "最高价",
  8721. "type": "number"
  8722. },
  8723. "hv": {
  8724. "description": "持仓量",
  8725. "type": "integer"
  8726. },
  8727. "l": {
  8728. "description": "最低价",
  8729. "type": "number"
  8730. },
  8731. "o": {
  8732. "description": "开盘价",
  8733. "type": "number"
  8734. },
  8735. "s": {
  8736. "description": "结算价,日线周期(包括)以上才有",
  8737. "type": "number"
  8738. },
  8739. "ts": {
  8740. "description": "时间",
  8741. "type": "string"
  8742. },
  8743. "tt": {
  8744. "description": "总金额",
  8745. "type": "number"
  8746. },
  8747. "tv": {
  8748. "description": "总量",
  8749. "type": "integer"
  8750. }
  8751. }
  8752. },
  8753. "quote.QueryTSDataRsp": {
  8754. "type": "object",
  8755. "properties": {
  8756. "decimalPlace": {
  8757. "description": "小数位",
  8758. "type": "integer"
  8759. },
  8760. "endTime": {
  8761. "description": "结束时间",
  8762. "type": "string"
  8763. },
  8764. "goodsCode": {
  8765. "description": "商品代码",
  8766. "type": "string"
  8767. },
  8768. "historyDatas": {
  8769. "description": "历史数据",
  8770. "type": "array",
  8771. "items": {
  8772. "$ref": "#/definitions/quote.HistoryData"
  8773. }
  8774. },
  8775. "preSettle": {
  8776. "description": "昨结",
  8777. "type": "number"
  8778. },
  8779. "startTime": {
  8780. "description": "开始时间",
  8781. "type": "string"
  8782. },
  8783. "tradeDate": {
  8784. "description": "交易日",
  8785. "type": "string"
  8786. }
  8787. }
  8788. },
  8789. "szdz.QueryConvertLogRsp": {
  8790. "type": "object",
  8791. "required": [
  8792. "logid"
  8793. ],
  8794. "properties": {
  8795. "accountid": {
  8796. "description": "资金账户ID",
  8797. "type": "integer"
  8798. },
  8799. "clientticket": {
  8800. "description": "客户端流水号",
  8801. "type": "string"
  8802. },
  8803. "converttype": {
  8804. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  8805. "type": "integer"
  8806. },
  8807. "createtime": {
  8808. "description": "记账时间",
  8809. "type": "string"
  8810. },
  8811. "daymaxvalue": {
  8812. "description": "配置当日最大转入限制",
  8813. "type": "number"
  8814. },
  8815. "daymaxvalue2": {
  8816. "description": "配置当日最大转入限制(转入)",
  8817. "type": "number"
  8818. },
  8819. "goodscode": {
  8820. "description": "商品代码",
  8821. "type": "string"
  8822. },
  8823. "goodsname": {
  8824. "description": "商品名称",
  8825. "type": "string"
  8826. },
  8827. "handlestatus": {
  8828. "description": "处理状态",
  8829. "type": "integer"
  8830. },
  8831. "innergoodsid": {
  8832. "description": "内部商品ID",
  8833. "type": "integer"
  8834. },
  8835. "inratio": {
  8836. "description": "配置转入比值",
  8837. "type": "integer"
  8838. },
  8839. "invalue": {
  8840. "description": "目标值",
  8841. "type": "number"
  8842. },
  8843. "logid": {
  8844. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8845. "type": "integer"
  8846. },
  8847. "mobile": {
  8848. "description": "手机号码(加密存储)",
  8849. "type": "string"
  8850. },
  8851. "outergoodscode": {
  8852. "description": "外部商品代码[JD\\PD]",
  8853. "type": "string"
  8854. },
  8855. "outratio": {
  8856. "description": "配置转出比值",
  8857. "type": "integer"
  8858. },
  8859. "outvalue": {
  8860. "description": "源值",
  8861. "type": "number"
  8862. },
  8863. "pddecimalplace": {
  8864. "description": "PD小数位",
  8865. "type": "integer"
  8866. },
  8867. "qty": {
  8868. "description": "数量",
  8869. "type": "string"
  8870. },
  8871. "remark": {
  8872. "description": "备注",
  8873. "type": "string"
  8874. },
  8875. "sessionid": {
  8876. "description": "会话ID",
  8877. "type": "integer"
  8878. },
  8879. "timemaxvalue": {
  8880. "description": "配置单次最大转入限制",
  8881. "type": "number"
  8882. },
  8883. "timemaxvalue2": {
  8884. "description": "配置单次最大转入限制(转入)",
  8885. "type": "number"
  8886. },
  8887. "timeminvalue": {
  8888. "description": "配置单次最小数量限制",
  8889. "type": "number"
  8890. },
  8891. "timeminvalue2": {
  8892. "description": "配置单次最小数量限制(转入)",
  8893. "type": "number"
  8894. },
  8895. "tradedate": {
  8896. "description": "交易日(yyyyMMdd)",
  8897. "type": "string"
  8898. },
  8899. "userid": {
  8900. "description": "用户ID",
  8901. "type": "integer"
  8902. }
  8903. }
  8904. },
  8905. "szdz.QueryGoodsPickupRsp": {
  8906. "type": "object",
  8907. "required": [
  8908. "takeorderid"
  8909. ],
  8910. "properties": {
  8911. "accountid": {
  8912. "description": "账户ID",
  8913. "type": "integer"
  8914. },
  8915. "address": {
  8916. "description": "提货人详细地址",
  8917. "type": "string"
  8918. },
  8919. "auditer": {
  8920. "description": "审核人",
  8921. "type": "integer"
  8922. },
  8923. "audittime": {
  8924. "description": "审核时间",
  8925. "type": "string"
  8926. },
  8927. "cardnum": {
  8928. "description": "提货人证件号码",
  8929. "type": "string"
  8930. },
  8931. "cardtypeid": {
  8932. "description": "提货人证件类型",
  8933. "type": "integer"
  8934. },
  8935. "checkremark": {
  8936. "description": "审核备注",
  8937. "type": "string"
  8938. },
  8939. "goodscode": {
  8940. "description": "商品代码",
  8941. "type": "string"
  8942. },
  8943. "goodsid": {
  8944. "description": "商品ID",
  8945. "type": "integer"
  8946. },
  8947. "goodsname": {
  8948. "description": "商品名称",
  8949. "type": "string"
  8950. },
  8951. "handlestatus": {
  8952. "description": "处理状态",
  8953. "type": "integer"
  8954. },
  8955. "marketid": {
  8956. "description": "市场ID",
  8957. "type": "integer"
  8958. },
  8959. "phonenum": {
  8960. "description": "提货人联系方式",
  8961. "type": "string"
  8962. },
  8963. "qty": {
  8964. "description": "提货数量",
  8965. "type": "number"
  8966. },
  8967. "recivername": {
  8968. "description": "提货人姓名",
  8969. "type": "string"
  8970. },
  8971. "reqtime": {
  8972. "description": "更新时间",
  8973. "type": "string"
  8974. },
  8975. "takemode": {
  8976. "description": "提货方式 - 2:自提 3:配送",
  8977. "type": "integer"
  8978. },
  8979. "takeorderid": {
  8980. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8981. "type": "string"
  8982. },
  8983. "takeorderstatus": {
  8984. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8985. "type": "integer"
  8986. },
  8987. "takeremark": {
  8988. "description": "提货备注",
  8989. "type": "string"
  8990. },
  8991. "tradedate": {
  8992. "description": "交易日(yyyyMMdd)",
  8993. "type": "string"
  8994. },
  8995. "userid": {
  8996. "description": "用户ID",
  8997. "type": "integer"
  8998. }
  8999. }
  9000. },
  9001. "szdz.QueryRecieptOrderRsp": {
  9002. "type": "object",
  9003. "properties": {
  9004. "accountName": {
  9005. "description": "所属账号名称(已脱敏)",
  9006. "type": "string"
  9007. },
  9008. "accountid": {
  9009. "description": "资金账号",
  9010. "type": "integer"
  9011. },
  9012. "buyorsell": {
  9013. "description": "方向 - 0:买 1:卖",
  9014. "type": "integer"
  9015. },
  9016. "enableqty": {
  9017. "description": "可摘数量",
  9018. "type": "integer"
  9019. },
  9020. "goodscode": {
  9021. "description": "商品代码",
  9022. "type": "string"
  9023. },
  9024. "goodsid": {
  9025. "description": "商品ID",
  9026. "type": "integer"
  9027. },
  9028. "goodsname": {
  9029. "description": "商品名称",
  9030. "type": "string"
  9031. },
  9032. "orderid": {
  9033. "description": "委托单号",
  9034. "type": "string"
  9035. },
  9036. "orderprice": {
  9037. "description": "委托价格",
  9038. "type": "number"
  9039. },
  9040. "tradedate": {
  9041. "description": "交易日(yyyyMMdd)",
  9042. "type": "string"
  9043. }
  9044. }
  9045. },
  9046. "szdz.QuerySZDZTradePositionRsp": {
  9047. "type": "object",
  9048. "properties": {
  9049. "accountid": {
  9050. "description": "账号Id",
  9051. "type": "integer"
  9052. },
  9053. "agreeunit": {
  9054. "description": "合约单位",
  9055. "type": "number"
  9056. },
  9057. "averageprice": {
  9058. "description": "持仓均价",
  9059. "type": "number"
  9060. },
  9061. "buyorsell": {
  9062. "description": "方向 - 0:买 1:卖",
  9063. "type": "integer"
  9064. },
  9065. "closetotalqty": {
  9066. "description": "平仓总数量",
  9067. "type": "integer"
  9068. },
  9069. "curholderamount": {
  9070. "description": "当前持仓总金额",
  9071. "type": "number"
  9072. },
  9073. "curpositionqty": {
  9074. "description": "当前持仓总数量",
  9075. "type": "integer"
  9076. },
  9077. "currencyid": {
  9078. "description": "报价货币ID",
  9079. "type": "integer"
  9080. },
  9081. "curtdposition": {
  9082. "description": "期末今日头寸",
  9083. "type": "integer"
  9084. },
  9085. "decimalplace": {
  9086. "description": "报价小数位",
  9087. "type": "integer"
  9088. },
  9089. "enableqty": {
  9090. "description": "可用量",
  9091. "type": "integer"
  9092. },
  9093. "fretdposition": {
  9094. "description": "冻结今日头寸",
  9095. "type": "integer"
  9096. },
  9097. "frozenqty": {
  9098. "description": "持仓冻结数量",
  9099. "type": "integer"
  9100. },
  9101. "goodscode": {
  9102. "description": "商品代码(内部)",
  9103. "type": "string"
  9104. },
  9105. "goodsid": {
  9106. "description": "商品Id",
  9107. "type": "integer"
  9108. },
  9109. "goodsname": {
  9110. "description": "商品名称",
  9111. "type": "string"
  9112. },
  9113. "goodunit": {
  9114. "description": "报价单位",
  9115. "type": "string"
  9116. },
  9117. "goodunitid": {
  9118. "description": "报价单位ID",
  9119. "type": "integer"
  9120. },
  9121. "holderamount": {
  9122. "description": "期初持仓总金额",
  9123. "type": "number"
  9124. },
  9125. "marketid": {
  9126. "description": "市场ID",
  9127. "type": "integer"
  9128. },
  9129. "openreqqty": {
  9130. "description": "开仓申请数量",
  9131. "type": "integer"
  9132. },
  9133. "opentotalqty": {
  9134. "description": "开仓总数量",
  9135. "type": "integer"
  9136. },
  9137. "otherfrozenqty": {
  9138. "description": "持仓其他冻结数量(交割冻结)",
  9139. "type": "integer"
  9140. },
  9141. "positionqty": {
  9142. "description": "期初持仓数量",
  9143. "type": "integer"
  9144. },
  9145. "szdz3freezqty": {
  9146. "description": "尚志大宗转换冻结总数量",
  9147. "type": "integer"
  9148. },
  9149. "tnqty": {
  9150. "description": "T+N冻结总量",
  9151. "type": "integer"
  9152. },
  9153. "tnusedqty": {
  9154. "description": "T+N使用量",
  9155. "type": "integer"
  9156. },
  9157. "trademode": {
  9158. "description": "交易模式",
  9159. "type": "integer"
  9160. },
  9161. "usedmargin": {
  9162. "description": "占用保证金",
  9163. "type": "number"
  9164. }
  9165. }
  9166. },
  9167. "taaccount.QueryAmountLogRsp": {
  9168. "type": "object",
  9169. "required": [
  9170. "accountid",
  9171. "amount",
  9172. "amountadjusttype",
  9173. "autoid",
  9174. "balance",
  9175. "createtime",
  9176. "currentbalance",
  9177. "operatetype"
  9178. ],
  9179. "properties": {
  9180. "OPERATETYPENAME": {
  9181. "description": "资金操作类型名称",
  9182. "type": "string"
  9183. },
  9184. "accountid": {
  9185. "description": "资金账户ID",
  9186. "type": "integer"
  9187. },
  9188. "agoodscode": {
  9189. "description": "竞拍商品代码",
  9190. "type": "string"
  9191. },
  9192. "agoodsname": {
  9193. "description": "竞拍商品名称",
  9194. "type": "string"
  9195. },
  9196. "amount": {
  9197. "description": "资金金额",
  9198. "type": "number"
  9199. },
  9200. "amountadjusttype": {
  9201. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9202. "type": "integer"
  9203. },
  9204. "autoid": {
  9205. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9206. "type": "integer"
  9207. },
  9208. "balance": {
  9209. "description": "期初余额",
  9210. "type": "number"
  9211. },
  9212. "businesscode": {
  9213. "description": "业务编号",
  9214. "type": "integer"
  9215. },
  9216. "createtime": {
  9217. "description": "发生时间",
  9218. "type": "string"
  9219. },
  9220. "currencyid": {
  9221. "description": "币种ID",
  9222. "type": "integer"
  9223. },
  9224. "currentbalance": {
  9225. "description": "期末余额(变动后金额)",
  9226. "type": "number"
  9227. },
  9228. "dgoodscode": {
  9229. "description": "交割商品代码",
  9230. "type": "string"
  9231. },
  9232. "dgoodsname": {
  9233. "description": "交割商品名称",
  9234. "type": "string"
  9235. },
  9236. "goodscode": {
  9237. "description": "商品代码",
  9238. "type": "string"
  9239. },
  9240. "goodsid": {
  9241. "description": "商品ID",
  9242. "type": "integer"
  9243. },
  9244. "goodsname": {
  9245. "description": "商品名称",
  9246. "type": "string"
  9247. },
  9248. "marketid": {
  9249. "description": "市场ID",
  9250. "type": "integer"
  9251. },
  9252. "marketname": {
  9253. "description": "市场名称",
  9254. "type": "string"
  9255. },
  9256. "moneyticket": {
  9257. "description": "资金流水号:银行端流水号",
  9258. "type": "integer"
  9259. },
  9260. "operatetype": {
  9261. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  9262. "type": "integer"
  9263. },
  9264. "relationorderid": {
  9265. "description": "关联单号",
  9266. "type": "string"
  9267. },
  9268. "remark": {
  9269. "description": "备注",
  9270. "type": "string"
  9271. },
  9272. "trademode": {
  9273. "description": "交易模式",
  9274. "type": "integer"
  9275. }
  9276. }
  9277. },
  9278. "taaccount.QueryHisAmountLogRsp": {
  9279. "type": "object",
  9280. "required": [
  9281. "accountid",
  9282. "amount",
  9283. "amountadjusttype",
  9284. "autoid",
  9285. "balance",
  9286. "createtime",
  9287. "currentbalance",
  9288. "histradedate",
  9289. "operatetype"
  9290. ],
  9291. "properties": {
  9292. "OPERATETYPENAME": {
  9293. "description": "资金操作类型名称",
  9294. "type": "string"
  9295. },
  9296. "accountid": {
  9297. "description": "资金账户ID",
  9298. "type": "integer"
  9299. },
  9300. "agoodscode": {
  9301. "description": "竞拍商品代码",
  9302. "type": "string"
  9303. },
  9304. "agoodsname": {
  9305. "description": "竞拍商品名称",
  9306. "type": "string"
  9307. },
  9308. "amount": {
  9309. "description": "资金金额",
  9310. "type": "number"
  9311. },
  9312. "amountadjusttype": {
  9313. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9314. "type": "integer"
  9315. },
  9316. "autoid": {
  9317. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9318. "type": "integer"
  9319. },
  9320. "balance": {
  9321. "description": "期初余额",
  9322. "type": "number"
  9323. },
  9324. "businesscode": {
  9325. "description": "业务编号",
  9326. "type": "integer"
  9327. },
  9328. "createtime": {
  9329. "description": "发生时间",
  9330. "type": "string"
  9331. },
  9332. "currencyid": {
  9333. "description": "币种ID",
  9334. "type": "integer"
  9335. },
  9336. "currentbalance": {
  9337. "description": "期末余额(变动后金额)",
  9338. "type": "number"
  9339. },
  9340. "dgoodscode": {
  9341. "description": "交割商品代码",
  9342. "type": "string"
  9343. },
  9344. "dgoodsname": {
  9345. "description": "交割商品名称",
  9346. "type": "string"
  9347. },
  9348. "goodscode": {
  9349. "description": "商品代码",
  9350. "type": "string"
  9351. },
  9352. "goodsid": {
  9353. "description": "商品ID",
  9354. "type": "integer"
  9355. },
  9356. "goodsname": {
  9357. "description": "商品名称",
  9358. "type": "string"
  9359. },
  9360. "histradedate": {
  9361. "description": "历史交易日",
  9362. "type": "string"
  9363. },
  9364. "isvaliddata": {
  9365. "description": "是否有效 - 0:无效 1:有效",
  9366. "type": "integer"
  9367. },
  9368. "marketid": {
  9369. "description": "市场ID",
  9370. "type": "integer"
  9371. },
  9372. "marketname": {
  9373. "description": "市场名称",
  9374. "type": "string"
  9375. },
  9376. "moneyticket": {
  9377. "description": "资金流水号:银行端流水号",
  9378. "type": "integer"
  9379. },
  9380. "operatetype": {
  9381. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  9382. "type": "integer"
  9383. },
  9384. "relationorderid": {
  9385. "description": "关联单号",
  9386. "type": "string"
  9387. },
  9388. "remark": {
  9389. "description": "备注",
  9390. "type": "string"
  9391. },
  9392. "trademode": {
  9393. "description": "交易模式",
  9394. "type": "integer"
  9395. }
  9396. }
  9397. }
  9398. },
  9399. "securityDefinitions": {
  9400. "ApiKeyAuth": {
  9401. "type": "apiKey",
  9402. "name": "Authorization",
  9403. "in": "header"
  9404. }
  9405. }
  9406. }